Skip to content

Commit

Permalink
Update debian_code-server
Browse files Browse the repository at this point in the history
  • Loading branch information
ayunami2000 authored Aug 16, 2023
1 parent ba9941b commit d10bd2c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dockerfiles/debian_code-server
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" ]

0 comments on commit d10bd2c

Please sign in to comment.