rng0x17 commited on
Commit
05588fd
1 Parent(s): d8d7e52
Files changed (1) hide show
  1. Dockerfile +7 -3
Dockerfile CHANGED
@@ -83,9 +83,13 @@ RUN cp code /usr/local/bin
83
  RUN chmod +x /usr/local/bin/code
84
  RUN apt-get install wget gpg && \
85
  wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg && \
86
- sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg && \
87
- sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list' && \
88
- rm -f packages.microsoft.gpg
 
 
 
 
89
 
90
  #######################################
91
  # End root user section
 
83
  RUN chmod +x /usr/local/bin/code
84
  RUN apt-get install wget gpg && \
85
  wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg && \
86
+ install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg && \
87
+ sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list' && \
88
+ rm -f packages.microsoft.gpg && \
89
+ apt install apt-transport-https && \
90
+ apt update && \
91
+ apt install code
92
+
93
 
94
  #######################################
95
  # End root user section