forked from eclipse-cdt-cloud/theia-trace-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.dockerfile
30 lines (25 loc) · 1022 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
27
28
29
30
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 \
# Clear package info (to free space)
&& sudo rm -rf /var/lib/apt/lists/*
ENV NODE_VERSION="18"
RUN bash -c ". .nvm/nvm.sh \
&& nvm install $NODE_VERSION \
&& nvm use $NODE_VERSION \
&& nvm alias default $NODE_VERSION \
&& npm install -g yarn"
RUN bash -c "source \"/home/gitpod/.sdkman/bin/sdkman-init.sh\" \
&& sdk install java 17.0.5.fx-zulu < /dev/null \
&& sdk default java 17.0.5.fx-zulu < /dev/null"
ENV PATH=$HOME/.nvm/versions/node/v${NODE_VERSION}/bin:$PATH