# syntax = docker/dockerfile:1 FROM myvnc/alpine/base USER root # Build ARG: use "root" for debugging ARG debug # X session environment variable ENV STARTXBIN=openbox-session ENV AUTOSTARTDIR=openbox # Run RUN apk add --no-cache \ tigervnc \ openbox \ font-dejavu \ && sed '/<\/applications>/i\ \ \ \ true\ \ no\ \ ' -i /etc/xdg/openbox/rc.xml # Tigervnc initialization scripts COPY *.sh /app/init.d/ # Reset user USER ${debug:-user}