-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.Dockerfile
22 lines (15 loc) · 839 Bytes
/
.gitpod.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Need to add :latest, otherwise old versions (e.g. of node) are installed
FROM gitpod/workspace-full-vnc:latest
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
RUN sudo apt-get install git-lfs
RUN git lfs install
# https://www.gitpod.io/docs/languages/javascript
# https://github.com/gitpod-io/gitpod/issues/945
RUN bash -c 'source $HOME/.nvm/nvm.sh && nvm install 20'
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix
RUN echo "\nexport PATH=$(yarn global bin):\$PATH" >> /home/gitpod/.bashrc
RUN yarn global add gitpod-env-per-project @babel/node @babel/core
RUN sudo apt-get install -y graphviz
RUN brew install gh
# Puppeteer dependencies
RUN sudo apt-get update && sudo apt-get install -y libgtk-3-0 libx11-xcb1 libnss3 libxss1 libasound2 libgbm1 libxshmfence1