Dockerfile 388 B

123456789101112131415
  1. FROM ubuntu:18.04
  2. RUN apt-get update && apt-get install --yes --no-install-recommends \
  3. firefox \
  4. ratpoison `# window manager` \
  5. x11vnc \
  6. xvfb
  7. RUN useradd --create-home vnc
  8. COPY --chown=vnc xinitrc /home/vnc/.xinitrc
  9. COPY --chown=vnc ratpoisonrc /home/vnc/.ratpoisonrc
  10. USER vnc
  11. EXPOSE 5900/tcp
  12. ENV X11VNC_CREATE_GEOM 1920x1080
  13. CMD ["x11vnc", "-create", "-nopw", "-no6"]