rng0x17 commited on
Commit
9ef20f8
·
1 Parent(s): eea5b59

Update Dockerfile

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