LXQT desktop with Firefox for amd64 & arm64 connectable through VNC.
1.4K
GIT repo: https://github.com/jlsalvador/containerfiles/tree/remotedesktop
Dockerfile
FROM ubuntu:latest
RUN set -ex ;\
apt update ;\
apt install -y --no-install-recommends \
ca-certificates ;\
rm -rf /tmp/* /var/cache/apt/archives/*
# firefox repo will be enabled, requires `ca-certificates`
# before `apt update`.
COPY --chown=root:root copy_to_root /
RUN set -ex ;\
apt update ;\
apt dist-upgrade -y ;\
apt install -y --no-install-recommends \
dbus-x11 lxqt openbox \
tigervnc-standalone-server tigervnc-tools \
papirus-icon-theme \
fonts-dejavu fonts-noto-color-emoji \
libgtk-3-0t64 \
libfuse2t64 \
gvfs gvfs-fuse gvfs-backends \
firefox ffmpeg \
vlc \
curl \
flatpak kde-config-flatpak;\
useradd -m -G users user -s /bin/bash ;\
fc-cache ;\
rm -rf /tmp/* /var/cache/apt/archives/*
RUN flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
EXPOSE 5900
USER user
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
CMD [ "vncserver", "-fg", "--I-KNOW-THIS-IS-INSECURE", ":0" ]
/usr/local/bin/entrypoint.sh
#!/usr/bin/env bash
set -e
if [[ "${DEBUG}z" != "z" ]]; then
set -x
fi
mkdir -p ~/.vnc
cat > ~/.vnc/config <<EOF
session=lxqt
geometry=${RESOLUTION:-1920x1080}
alwaysshared
localhost=0
EOF
if [[ "${PASSWORD}z" == "z" ]]; then
echo "securitytypes=none" >> ~/.vnc/config
else
echo "${PASSWORD}" | vncpasswd -f > ~/.vnc/passwd
fi
exec "$@"
Content type
Image
Digest
sha256:069fe37d8…
Size
564.2 MB
Last updated
9 months ago
docker pull jlsalvador/remotedesktop