tuts4y0u commited on
Commit
7f2f7ee
·
1 Parent(s): c60f954

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -3,10 +3,6 @@ RUN apt update
3
  RUN useradd -m -u 1000 user
4
  RUN chown root:shadow /etc/shadow
5
  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 fuse libfuse2 -y
6
- RUN apt remove xscreensaver-data -y
7
- RUN apt remove xscreensaver -y
8
- RUN apt remove light-locker -y
9
- RUN apt autoclean && apt autoremove
10
  RUN sed -i '/@xscreensaver -no-splash/d' /etc/xdg/lxsession/LXDE/autostart
11
  RUN git clone https://github.com/novnc/noVNC.git noVNC
12
  RUN mkdir -p /home/user/.vnc
@@ -17,4 +13,8 @@ RUN --mount=type=secret,id=VNC_PASSWORD,mode=0444,required=true \
17
  RUN chmod -R 777 /home/user/.vnc /tmp
18
  ENV HOME=/home/user \
19
  PATH=/home/user/.local/bin:$PATH
 
 
 
 
20
  CMD vncserver -SecurityTypes VncAuth -rfbauth /home/user/.vnc/passwd -geometry $VNC_RESOLUTION && ./noVNC/utils/novnc_proxy --vnc localhost:5901 --listen 0.0.0.0:7860
 
3
  RUN useradd -m -u 1000 user
4
  RUN chown root:shadow /etc/shadow
5
  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 fuse libfuse2 -y
 
 
 
 
6
  RUN sed -i '/@xscreensaver -no-splash/d' /etc/xdg/lxsession/LXDE/autostart
7
  RUN git clone https://github.com/novnc/noVNC.git noVNC
8
  RUN mkdir -p /home/user/.vnc
 
13
  RUN chmod -R 777 /home/user/.vnc /tmp
14
  ENV HOME=/home/user \
15
  PATH=/home/user/.local/bin:$PATH
16
+ RUN apt remove xscreensaver-data -y
17
+ RUN apt remove xscreensaver -y
18
+ RUN apt remove light-locker -y
19
+ RUN apt autoclean && apt autoremove
20
  CMD vncserver -SecurityTypes VncAuth -rfbauth /home/user/.vnc/passwd -geometry $VNC_RESOLUTION && ./noVNC/utils/novnc_proxy --vnc localhost:5901 --listen 0.0.0.0:7860