File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ ARG BASE=quay.io/jupyter/minimal-notebook:ubuntu-24.04
55
66FROM $BASE
77
8- # Make code-server extensions etc persist to container, not hub
9- ENV XDG_DATA_HOME =/opt/share
8+ # this env var is recognized by jupyter-vscode-proxy:
9+ ENV CODE_EXTENSIONSDIR =/opt/share/code-server
1010
1111USER root
1212# code-server (VSCode)
@@ -32,7 +32,7 @@ COPY install.r /tmp/install.r
3232RUN Rscript /tmp/install.r
3333
3434COPY vscode-extensions.txt /tmp/vscode-extensions.txt
35- RUN xargs -n 1 code-server --install-extension < /tmp/vscode-extensions.txt
35+ RUN xargs -n 1 code-server --extensions-dir ${CODE_EXTENSIONSDIR} -- install-extension < /tmp/vscode-extensions.txt
3636
3737COPY environment.yml /tmp/environment.yml
3838RUN mamba env update --file /tmp/environment.yml
You can’t perform that action at this time.
0 commit comments