forked from leaningtech/webvm
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba9941b
commit d10bd2c
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
FROM --platform=i386 i386/debian:bookworm-slim | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get clean && apt-get update && apt-get -y upgrade | ||
RUN apt-get -y install nodejs npm | ||
WORKDIR /root/ | ||
ENV FORCE_NODE_VERSION 18 | ||
RUN apt-get -y install curl | ||
RUN curl -fsSLO --compressed https://unofficial-builds.nodejs.org/download/release/v16.20.2/node-v16.20.2-linux-x86.tar.gz && tar -xJf "node-v16.20.2-linux-x86.tar.gz" -C /usr/local --strip-components=1 --no-same-owner && ln -s /usr/local/bin/node /usr/local/bin/nodejs | ||
RUN npm i code-server --unsafe-perm | ||
ENV FORCE_NODE_VERSION= | ||
RUN rm -rf /var/lib/apt/lists/* | ||
ENV HOME="/root" TERM="xterm" USER="root" SHELL="/bin/bash" EDITOR="nano" LANG="en_US.UTF-8" LC_ALL="C" | ||
CMD [ "/bin/bash" ] |