tuts4y0u commited on
Commit
80a5b22
1 Parent(s): dc0d3af

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -8,9 +8,10 @@ RUN --mount=type=secret,id=VNC_PASSWORD,mode=0444,required=true \
8
  RUN pwconv
9
  # RUN apt-add-repository "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib"# RUN wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
10
  RUN apt update
11
- RUN apt-get install software-properties-common -y
12
- RUN apt-add-repository contrib -y && apt-add-repository non-free -y
13
- RUN apt update
 
14
  RUN apt install -y vim bash xfce4-terminal mate-desktop-environment-extras \
15
  aqemu sudo curl wget aria2 qemu-system-x86 htop chromium screen \
16
  tigervnc-standalone-server python3-pip python3-websockify \
 
8
  RUN pwconv
9
  # RUN apt-add-repository "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib"# RUN wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
10
  RUN apt update
11
+ # RUN apt-get install software-properties-common -y
12
+ # RUN apt-add-repository contrib -y && apt-add-repository non-free -y
13
+ # RUN apt update
14
+ RUN sed -r -i 's/^deb(.*)$/deb\1 contrib non-free/g' /etc/apt/sources.list
15
  RUN apt install -y vim bash xfce4-terminal mate-desktop-environment-extras \
16
  aqemu sudo curl wget aria2 qemu-system-x86 htop chromium screen \
17
  tigervnc-standalone-server python3-pip python3-websockify \