Update Dockerfile
Browse files3 unmodified lines456789105 unmodified lines1617181920212223242526272829304 unmodified lines353637383 unmodified linesENV USER=rootENV PASSWORD=root# ---- Install Desktop + XRDP + Tools ----RUN apt-get update && apt-get install -y --no-install-recommends \xfce4 \xfce4-goodies \5 unmodified linesgit \neovim \htop \&& rm -rf /var/lib/apt/lists/*# ---- Install code-server ----RUN curl -fsSL https://code-server.dev/install.sh | sh# ---- Root password ----RUN echo "$USER:$PASSWORD" | chpasswd# ---- XRDP Fix ----RUN echo "startxfce4" > /root/.xsessionRUN sed -i 's/3389/3390/g' /etc/xrdp/xrdp.ini4 unmodified linesCMD bash -c "\service dbus start && \service xrdp start && \code-server --bind-addr 0.0.0.0:7860 --auth none"3 unmodified lines456789105 unmodified lines16171819202122232425262728293031323334354 unmodified lines404142433 unmodified linesENV USER=rootENV PASSWORD=root# ---- Base + Desktop + XRDP ----RUN apt-get update && apt-get install -y --no-install-recommends \xfce4 \xfce4-goodies \5 unmodified linesgit \neovim \htop \ca-certificates \&& rm -rf /var/lib/apt/lists/*# ---- Install code-server (manual stable way) ----RUN curl -fL https://github.com/coder/code-server/releases/latest/download/code-server-linux-amd64.tar.gz -o code-server.tar.gz \&& tar -xzf code-server.tar.gz \&& mv code-server-*-linux-amd64 /usr/lib/code-server \&& ln -s /usr/lib/code-server/bin/code-server /usr/bin/code-server \&& rm code-server.tar.gz# ---- Root password ----RUN echo "$USER:$PASSWORD" | chpasswd# ---- XRDP config ----RUN echo "startxfce4" > /root/.xsessionRUN sed -i 's/3389/3390/g' /etc/xrdp/xrdp.ini4 unmodified linesCMD bash -c "\service dbus start && \service xrdp start && \/usr/bin/code-server --bind-addr 0.0.0.0:7860 --auth none"
Dockerfile+10-5