-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathDockerfile.codespace
More file actions
27 lines (22 loc) · 1.01 KB
/
Dockerfile.codespace
File metadata and controls
27 lines (22 loc) · 1.01 KB
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
ARG VARIANT="16-bullseye"
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
###################################################
WORKDIR /usr/src/web-desktop-environment
COPY . .
###################################################
RUN set -e; \
apt-get update && \
apt-get install -qqy --no-install-recommends \
curl wget nano gnupg2 software-properties-common && \
rm -rf /var/lib/apt/lists;
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -;
RUN sudo wget -O "/usr/share/keyrings/xpra-2022.gpg" https://xpra.org/xpra-2022.gpg && \
sudo wget -O "/usr/share/keyrings/xpra-2018.gpg" https://xpra.org/xpra-2018.gpg;
RUN sudo mkdir -p /etc/apt/sources.list.d/;
RUN sudo curl https://xpra.org/repos/bullseye/xpra.list > /etc/apt/sources.list.d/xpra.list;
RUN set -e; \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -qqy --no-install-recommends --assume-yes \
nodejs build-essential xpra && \
rm -rf /var/lib/apt/lists;
RUN npm install -g yarn pnpm