-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.dockerfile
26 lines (22 loc) · 833 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
23
24
25
26
FROM gitpod/workspace-full-vnc:latest
# Docker build does not rebuild an image when a base image is changed, increase this counter to trigger it.
ENV TRIGGER_REBUILD 3
# Install custom tools, runtime, etc.
RUN sudo apt-get update \
# window manager
&& sudo apt-get install -y jwm \
# electron
&& sudo apt-get install -y libgtk-3-0 libnss3 libasound2 libgbm1 \
# native-keymap
&& sudo apt-get install -y libx11-dev libxkbfile-dev \
# keytar
&& sudo apt-get install -y libsecret-1-dev \
&& sudo rm -rf /var/lib/apt/lists/*
ENV SHELL=/bin/bash
ENV NODE_VERSION="16.14.0"
RUN bash -c ". .nvm/nvm.sh \
&& nvm install $NODE_VERSION \
&& nvm use $NODE_VERSION \
&& nvm alias default $NODE_VERSION \
&& npm install -g yarn"
ENV PATH=$HOME/.nvm/versions/node/v${NODE_VERSION}/bin:$PATH