diff --git a/dockerfiles/debian_code-server b/dockerfiles/debian_code-server index 7a1e7328..c234a230 100644 --- a/dockerfiles/debian_code-server +++ b/dockerfiles/debian_code-server @@ -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" ]