| 12345678910111213141516171819202122232425 |
- FROM debian:bookworm
- ENV DEBIAN_FRONTEND noninteractive
- ARG TZ=Europe/London
- RUN apt update && apt upgrade -y && apt install -y wget xfce4 chromium xrdp sudo dbus-x11 git vim bash-completion
- # RUN wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg \
- # && install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/ \
- # && sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list' \
- # && rm -f packages.microsoft.gpg
- # RUN wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
- # && dpkg -i packages-microsoft-prod.deb
- # RUN wget https://dot.net/v1/dotnet-install.sh && \
- # chmod +x ./dotnet-install.sh && \
- # ./dotnet-install.sh -c STS --install-dir /dotnet && \
- # echo 'export DOTNET_ROOT=/dotnet' > /etc/profile.d/dotnet.sh && \
- # echo 'export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools' >> /etc/profile.d/dotnet.sh
- # RUN apt update && apt install -y code
- RUN apt-get clean && \
- apt-get -y remove && \
- useradd -ms /bin/bash paul && \
- echo 'paul:harry1996' |chpasswd && \
- usermod -a -G sudo paul
- ENTRYPOINT /etc/init.d/xrdp start && tail -F /var/log/xrdp-sesman.log
|