tuts4y0u commited on
Commit
3b62c13
1 Parent(s): a8a055c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -7,6 +7,7 @@ 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 chmod 2755 /sbin/unix_chkpwd || echo "文件不存在,无视"
 
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
 
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 chmod 2755 /sbin/unix_chkpwd || echo "文件不存在,无视"
10
+ RUN pam-auth-update
11
  RUN sed -i '/@xscreensaver -no-splash/d' /etc/xdg/lxsession/LXDE/autostart || echo "配置不存在,无视"
12
  RUN git clone https://github.com/novnc/noVNC.git noVNC
13
  RUN mkdir -p /home/user/.vnc