FROM fedora:latest RUN dnf update -y --refresh && \ dnf install -y @xfce-desktop firefox thunderbird && \ dnf install -y tigervnc-server novnc net-tools git python-numpy && \ dnf clean all && \ git clone https://github.com/kanaka/websockify /usr/bin/websockify && \ adduser -m -u 1000 limited RUN echo -n limited | passwd --stdin limited COPY default-vncpasswd / COPY default-vncxstartup / COPY default-vncconfig / ENV PREFERRED="startxfce4" ENV HOME=/home/limited RUN chown -R limited /home/limited USER limited WORKDIR /home/limited VOLUME ["/home/limited"] EXPOSE 5900 6080 COPY entrypoint.sh /entrypoint.sh ENTRYPOINT bash /entrypoint.sh