File size: 643 Bytes
0c24172
10e41df
 
 
 
 
d4a1e86
 
168bf98
10e41df
 
ece4b1f
1
2
3
4
5
6
7
8
9
10
11
12
ARG VNC_PWD
FROM debian:sid
RUN apt update
RUN useradd -m -u 1000 user
RUN apt install xfce4-terminal lxde aqemu sudo curl wget aria2 qemu-system-x86 htop chromium screen tigervnc-standalone-server python3-pip python3-websockify python3 git -y
RUN git clone https://github.com/novnc/noVNC.git noVNC
RUN echo $VNC_PWD | vncpasswd -f > /home/user/vnc_password
RUN chmod u+r,g+r,o+r /home/user/vnc_password
RUN echo $VNC_PWD
ENV HOME=/home/user \
    PATH=/home/user/.local/bin:$PATH
CMD vncserver -SecurityTypes None -PasswordFile /home/user/vnc_password -geometry 1366x768 && ./noVNC/utils/novnc_proxy --vnc localhost:5901 --listen 0.0.0.0:7860