mycfoo commited on
Commit
212e61f
·
1 Parent(s): f4490db

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -4,14 +4,16 @@ RUN useradd -m -u 1000 user
4
  RUN apt install xfce4-terminal lxde aqemu sudo curl wget xdotool 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
  RUN mkdir -p /home/user/.vnc
 
7
  ARG VNC_PWD
8
  ARG VNC_RESOLUTION
9
  RUN echo $VNC_PWD | vncpasswd -f > /home/user/.vnc/passwd
10
- RUN chmod -R 777 /home/user/.vnc /tmp
11
  ENV HOME=/home/user \
12
  PATH=/home/user/.local/bin:$PATH
13
  # 假设pushcookie文件夹在当前目录下
14
- ADD pushcookie/ ~/Desktop/
 
15
  # 使用RUN指令执行chmod命令给予*.sh文件可执行权限
16
  # RUN chmod +x ~/Desktop/pushcookie/*.sh
17
 
 
4
  RUN apt install xfce4-terminal lxde aqemu sudo curl wget xdotool 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
  RUN mkdir -p /home/user/.vnc
7
+ RUN mkdir -p /home/user/myshell
8
  ARG VNC_PWD
9
  ARG VNC_RESOLUTION
10
  RUN echo $VNC_PWD | vncpasswd -f > /home/user/.vnc/passwd
11
+ RUN chmod -R 777 /home/user/.vnc /tmp /home/user/myshell
12
  ENV HOME=/home/user \
13
  PATH=/home/user/.local/bin:$PATH
14
  # 假设pushcookie文件夹在当前目录下
15
+
16
+ ADD pushcookie/ ~/myshell/
17
  # 使用RUN指令执行chmod命令给予*.sh文件可执行权限
18
  # RUN chmod +x ~/Desktop/pushcookie/*.sh
19