lachine commited on
Commit
4d2cd2c
·
verified ·
1 Parent(s): d160fa6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -11
Dockerfile CHANGED
@@ -1,18 +1,10 @@
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 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
 
8
- # 添加微软的 GPG 密钥
9
- RUN wget -O - https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /usr/share/keyrings/microsoft.gpg
10
-
11
- # 添加微软的 Edge 仓库
12
- RUN sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge.list'
13
-
14
- # 安装 Edge 浏览器
15
- RUN apt update && apt install -y microsoft-edge-stable
16
  ARG VNC_PWD
17
  ARG VNC_RESOLUTION
18
  RUN echo $VNC_PWD | vncpasswd -f > /home/user/.vnc/passwd
 
1
+ FROM debian:bookworm
2
  RUN apt update
3
+ RUN /usr/sbin/useradd -m -u 1000 user
4
+ RUN apt install xfce4-terminal xfce4 xfce4-goodies xscreensaver sudo curl wget htop tigervnc-standalone-server python3-pip python3 git -y
5
  RUN git clone https://github.com/novnc/noVNC.git noVNC
6
  RUN mkdir -p /home/user/.vnc
7
 
 
 
 
 
 
 
 
 
8
  ARG VNC_PWD
9
  ARG VNC_RESOLUTION
10
  RUN echo $VNC_PWD | vncpasswd -f > /home/user/.vnc/passwd