Containerfile (433B)
1 FROM docker.io/ubuntu:24.04 2 3 ENV DEBIAN_FRONTEND=noninteractive \ 4 DISPLAY=:0 \ 5 QT_X11_NO_MITSHM=1 \ 6 VNC_PORT=5900 \ 7 VNC_PASSWORD=vncpass \ 8 RESOLUTION=1920x1080x24 9 10 RUN apt-get update && apt-get install -y --no-install-recommends \ 11 software-properties-common \ 12 xvfb \ 13 x11-apps \ 14 xauth \ 15 x11vnc 16 17 COPY start.sh /start.sh 18 RUN chmod +x /start.sh 19 20 EXPOSE 5900 21 22 CMD ["/start.sh"]