FROM ubuntu:latest ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y \ lxde \ aqemu \ sudo \ curl \ wget \ aria2 \ qemu-system-x86 \ htop \ firefox \ tigervnc-standalone-server \ python3-pip \ python3-websockify \ python3 \ git RUN git clone https://github.com/novnc/noVNC.git /home/user/noVNC RUN useradd -m -u 1000 user && \ usermod -aG sudo user && \ echo "%sudo ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/user && \ chmod 0440 /etc/sudoers.d/user RUN sudo chown -R user /home/user ENV HOME=/home/user \ PATH=/home/user/.local/bin:$PATH CMD vncserver -SecurityTypes None -geometry 1366x768 && ./noVNC/utils/novnc_proxy --vnc localhost:5901 --listen 0.0.0.0:7860