tuts4y0u
commited on
Commit
•
514217a
1
Parent(s):
7f2f7ee
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -3,6 +3,10 @@ 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 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,8 +17,4 @@ RUN --mount=type=secret,id=VNC_PASSWORD,mode=0444,required=true \
|
|
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
|
|
|
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 --no-install-recommends -y
|
7 |
+
RUN apt remove xscreensaver --no-install-recommends -y
|
8 |
+
RUN apt remove light-locker --no-install-recommends -y
|
9 |
+
RUN apt autoclean --no-install-recommends && apt autoremove --no-install-recommends
|
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 |
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
|