Commit
·
3cbdcd2
1
Parent(s):
80c0b97
Updated curl
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -8,11 +8,12 @@ RUN pip install jupyterlab jupyterlab-vim==0.15.1 jupyterlab-vimrc
|
|
8 |
|
9 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
10 |
|
|
|
11 |
RUN curl -Lk 'https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64' \
|
12 |
--output vscode_cli.tar.gz \
|
13 |
&& tar -xvf vscode_cli.tar.gz \
|
14 |
&& chmod +x ./code \
|
15 |
-
&&
|
16 |
|
17 |
# Create a non-root user with UID 1000
|
18 |
RUN useradd -m -u 1000 -s /bin/bash user
|
|
|
8 |
|
9 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
10 |
|
11 |
+
# Install Visual Studio Code CLI
|
12 |
RUN curl -Lk 'https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64' \
|
13 |
--output vscode_cli.tar.gz \
|
14 |
&& tar -xvf vscode_cli.tar.gz \
|
15 |
&& chmod +x ./code \
|
16 |
+
&& mv code /usr/local/bin/
|
17 |
|
18 |
# Create a non-root user with UID 1000
|
19 |
RUN useradd -m -u 1000 -s /bin/bash user
|