FROM ubuntu:18.04 RUN apt-get update && apt-get install --yes --no-install-recommends \ firefox \ x11vnc \ xvfb RUN useradd --create-home vnc COPY --chown=vnc xinitrc /home/vnc/.xinitrc USER vnc EXPOSE 5900/tcp CMD ["x11vnc", "-create", "-nopw", "-no6"]