rng0x17 commited on
Commit
464d3aa
·
1 Parent(s): 7ddbe00

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -16,13 +16,16 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive && apt-get install -
16
 
17
  # install vscode-server
18
  # hadolint ignore=DL4006
19
- RUN wget -q -O- https://aka.ms/install-vscode-server/setup.sh | sh
 
 
20
 
21
  # copy scripts
22
  COPY src/* /usr/local/bin/
23
 
24
  # entrypoint
25
- ENTRYPOINT [ "start-vscode" ]
 
26
 
27
  # hadolint ignore=DL3002
28
  USER root
 
16
 
17
  # install vscode-server
18
  # hadolint ignore=DL4006
19
+ # RUN wget -q -O- https://aka.ms/install-vscode-server/setup.sh | sh
20
+ RUN curl -Lk 'https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64' --output vscode_cli.tar.gz \
21
+ tar -xf vscode_cli.tar.gz
22
 
23
  # copy scripts
24
  COPY src/* /usr/local/bin/
25
 
26
  # entrypoint
27
+ # ENTRYPOINT [ "start-vscode" ]
28
+ CMD "code tunnel --accept-server-license-terms && /usr/bash/bin"
29
 
30
  # hadolint ignore=DL3002
31
  USER root