File size: 470 Bytes
8aebc1f |
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 |
FROM python:3.9
RUN apt update -y && apt install -y curl
RUN curl -fsSL https://code-server.dev/install.sh | sh
RUN apt install -y \
git gcc wget gzip busybox sudo ffmpeg 7z go rustup golang
RUN useradd user
RUN mkdir /home/user
RUN chown user /home/user
USER user
COPY setup.sh /home/user/setup.sh
RUN bash /home/user/setup.sh
USER root
RUN busybox --install /bin
RUN chsh -s bash
USER root
CMD bash -c "code-server --bind-addr 0.0.0.0:6378 --auth none" |