Spaces:
Running
Running
tuts4y0u
commited on
Commit
•
fc327fe
1
Parent(s):
6662ad5
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -4,9 +4,8 @@ RUN apt install -y vim bash xfce4-terminal mate-desktop-environment-extras aqemu
|
|
4 |
RUN apt remove -y lxlock
|
5 |
RUN apt remove -y light-locker xscreensaver-data xscreensaver
|
6 |
RUN useradd -d /home/user -s /bin/bash -m -u 1000 user
|
7 |
-
RUN chown user -R /home/user
|
8 |
-
RUN
|
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
|
|
|
4 |
RUN apt remove -y lxlock
|
5 |
RUN apt remove -y light-locker xscreensaver-data xscreensaver
|
6 |
RUN useradd -d /home/user -s /bin/bash -m -u 1000 user
|
7 |
+
RUN chown user -R /home/user; echo "cd ~" > /home/user/.bashrc;
|
8 |
+
RUN chown root:shadow /etc/shadow; chmod u=r,g=r /etc/shadow;
|
|
|
9 |
RUN sed -i '/@xscreensaver -no-splash/d' /etc/xdg/lxsession/LXDE/autostart || echo "配置不存在,无视"
|
10 |
RUN git clone https://github.com/novnc/noVNC.git noVNC
|
11 |
RUN mkdir -p /home/user/.vnc
|