desktop-vnc (latest)
Published 2024-07-26 19:54:33 +02:00 by RogerSik
Installation
docker pull gitea.sikorski.cloud/rogersik/desktop-vnc:latest
sha256:97fc916e860b86ac5ffcd3f1cbf580190fed67f911dc80d3f659b301e54d154d
Image Layers
ADD file:430cca9ad155514d8c818e860e66e2aeccfb6230874d4faf446a1d0c2fc1054f in / |
CMD ["bash"] |
RUN echo "Europe/Berlin" > /etc/timezone |
RUN apt-get update && apt-get install -y --no-install-recommends tzdata nano sudo wget ca-certificates openssl apt-transport-https ca-certificates curl gnupg htop xfce4 xfce4-goodies xfce4-session dbus-x11 x11-utils xfonts-base psmisc xdg-utils x11-xserver-utils libgtk-3-bin libpulse0 mousepad xfce4-notifyd xfce4-taskmanager xfce4-terminal libxv1 mesa-utils mesa-utils-extra tigervnc-standalone-server tigervnc-common tigervnc-tools && install -d -m 0755 /etc/apt/keyrings && wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | tee /etc/apt/keyrings/packages.mozilla.org.asc > /dev/null && echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main" | tee -a /etc/apt/sources.list.d/mozilla.list > /dev/null && apt-get update && apt-get install -y --no-install-recommends firefox && apt-get clean && rm -rf /var/lib/apt/lists/* && dpkg-reconfigure -f noninteractive tzdata |
RUN groupadd $USER && useradd -m -s /bin/bash -g $USER -G sudo -N $USER && mkdir -p /etc/sudoers.d/ && echo "$USER ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/$USER && mkdir -p $USER_HOME && chown -R $USER:$USER $USER_HOME |
COPY --chown=$USER:$USER --chmod=755 docker/xstartup $USER_HOME/.vnc/xstartup |
RUN touch "$USER_HOME/.vnc/passwd" && chmod 600 "$USER_HOME/.vnc/passwd" && touch $USER_HOME/.Xauthority |
COPY --chmod=755 docker/opt/ /opt/vnc/ |