Spaces:
Running
Running
tuts4y0u
commited on
Commit
•
6662ad5
1
Parent(s):
3bf1d75
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -7,7 +7,7 @@ RUN useradd -d /home/user -s /bin/bash -m -u 1000 user
|
|
7 |
RUN chown user -R /home/user
|
8 |
RUN echo "cd ~" > /home/user/.bashrc
|
9 |
RUN chown root:shadow /etc/shadow
|
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
|
13 |
RUN chmod -R 777 /home/user/.vnc /tmp
|
|
|
7 |
RUN chown user -R /home/user
|
8 |
RUN echo "cd ~" > /home/user/.bashrc
|
9 |
RUN chown root:shadow /etc/shadow
|
10 |
+
RUN sed -i '/@xscreensaver -no-splash/d' /etc/xdg/lxsession/LXDE/autostart || echo "配置不存在,无视"
|
11 |
RUN git clone https://github.com/novnc/noVNC.git noVNC
|
12 |
RUN mkdir -p /home/user/.vnc
|
13 |
RUN chmod -R 777 /home/user/.vnc /tmp
|