From b8504a737a7fb0b1007dca0d66f69af553cb3d46 Mon Sep 17 00:00:00 2001 From: Philipp Melab Date: Wed, 8 Nov 2023 16:28:53 +0100 Subject: [PATCH] chore: gitpod config update --- .gitpod.Dockerfile | 21 +++++++++++++-------- .gitpod.yml | 17 ----------------- 2 files changed, 13 insertions(+), 25 deletions(-) diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 927b09033..21a539933 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -8,19 +8,24 @@ RUN npm install -g pnpm@8.6.12 @withgraphite/graphite-cli COPY .gitpod/xdebug.ini /etc/php/8.2/mods-available/xdebug.ini RUN curl -fsSL https://deno.land/x/install/install.sh | sh RUN /home/gitpod/.deno/bin/deno completions bash > /home/gitpod/.bashrc.d/90-deno && \ - echo 'export DENO_INSTALL="/home/gitpod/.deno"' >> /home/gitpod/.bashrc.d/90-deno && \ - echo 'export PATH="$DENO_INSTALL/bin:$PATH"' >> /home/gitpod/.bashrc.d/90-deno + echo 'export DENO_INSTALL="/home/gitpod/.deno"' >> /home/gitpod/.bashrc.d/90-deno && \ + echo 'export PATH="$DENO_INSTALL/bin:$PATH"' >> /home/gitpod/.bashrc.d/90-deno # Install neovim and helpers RUN wget https://github.com/neovim/neovim/releases/download/v0.9.2/nvim-linux64.tar.gz && \ - tar xzf nvim-linux64.tar.gz && \ - sudo mv nvim-linux64 /usr/local/nvim && \ - sudo ln -s /usr/local/nvim/bin/nvim /usr/local/bin/nvim && \ - rm -rf nvim-linux64.tar.gz + tar xzf nvim-linux64.tar.gz && \ + sudo mv nvim-linux64 /usr/local/nvim && \ + sudo ln -s /usr/local/nvim/bin/nvim /usr/local/bin/nvim && \ + rm -rf nvim-linux64.tar.gz RUN sudo apt-get install -y fd-find RUN npm install -g neovim +# Install phpactor +RUN curl -Lo phpactor.phar https://github.com/phpactor/phpactor/releases/latest/download/phpactor.phar +RUN chmod a+x phpactor.phar +RUN sudo mv phpactor.phar /usr/local/bin/phpactor + RUN curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_0.40.2_Linux_x86_64.tar.gz" \ - && tar xf lazygit.tar.gz lazygit \ - && sudo install lazygit /usr/local/bin + && tar xf lazygit.tar.gz lazygit \ + && sudo install lazygit /usr/local/bin diff --git a/.gitpod.yml b/.gitpod.yml index 441b7dfea..f2dc88ae2 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -41,23 +41,6 @@ tasks: image: file: .gitpod.Dockerfile -github: - prebuilds: - # enable for the default branch (defaults to true) - master: true - # enable for all branches in this repo (defaults to false) - branches: false - # enable for pull requests coming from this repo (defaults to true) - pullRequests: true - # enable for pull requests coming from forks (defaults to false) - pullRequestsFromForks: false - # add a check to pull requests (defaults to true) - addCheck: true - # add a "Review in Gitpod" button as a comment to pull requests (defaults to false) - addComment: false - # add a "Review in Gitpod" button to the pull request's description (defaults to false) - addBadge: false - vscode: extensions: - 'esbenp.prettier-vscode'