Spaces:
Running
Running
tuts4y0u
commited on
Commit
•
28362c6
1
Parent(s):
637de5c
Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
@@ -1,13 +1,11 @@
|
|
1 |
-
ARG VNC_PWD
|
2 |
FROM debian:sid
|
3 |
RUN apt update
|
4 |
RUN useradd -m -u 1000 user
|
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 -y
|
6 |
RUN git clone https://github.com/novnc/noVNC.git noVNC
|
|
|
7 |
RUN echo $VNC_PWD | vncpasswd -f > /home/user/vnc_password
|
8 |
RUN chmod u+r,g+r,o+r /home/user/vnc_password
|
9 |
-
RUN echo $VNC_PWD > /home/user/vnc_password1
|
10 |
-
RUN cat /home/user/vnc_password1
|
11 |
ENV HOME=/home/user \
|
12 |
PATH=/home/user/.local/bin:$PATH
|
13 |
CMD vncserver -SecurityTypes None -PasswordFile /home/user/vnc_password -geometry 1366x768 && ./noVNC/utils/novnc_proxy --vnc localhost:5901 --listen 0.0.0.0:7860
|
|
|
|
|
1 |
FROM debian:sid
|
2 |
RUN apt update
|
3 |
RUN useradd -m -u 1000 user
|
4 |
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
|
5 |
RUN git clone https://github.com/novnc/noVNC.git noVNC
|
6 |
+
ARG VNC_PWD
|
7 |
RUN echo $VNC_PWD | vncpasswd -f > /home/user/vnc_password
|
8 |
RUN chmod u+r,g+r,o+r /home/user/vnc_password
|
|
|
|
|
9 |
ENV HOME=/home/user \
|
10 |
PATH=/home/user/.local/bin:$PATH
|
11 |
CMD vncserver -SecurityTypes None -PasswordFile /home/user/vnc_password -geometry 1366x768 && ./noVNC/utils/novnc_proxy --vnc localhost:5901 --listen 0.0.0.0:7860
|