Skip to content

Commit

Permalink
chore: gitpod config update
Browse files Browse the repository at this point in the history
  • Loading branch information
pmelab committed Nov 8, 2023
1 parent ee07124 commit b8504a7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 25 deletions.
21 changes: 13 additions & 8 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,24 @@ RUN npm install -g [email protected] @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

17 changes: 0 additions & 17 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit b8504a7

Please sign in to comment.