Commit 7777ab7f authored by Olivier Benz's avatar Olivier Benz
Browse files

Update JupyterLab to version 3.1.18

- r-ver: Update extension R to version 2.3.1
parent 97cd5c7d
Pipeline #6981 passed with stages
in 64 minutes and 33 seconds
......@@ -31,10 +31,5 @@ else
.local/share/code-server/User/settings.json
fi
# Change file mode of .p10k.zsh.sample
if [ -e .p10k.zsh.sample ] ; then
chmod 644 .p10k.zsh.sample
fi
# Remove old .zcompdump files
rm -f .zcompdump*
......@@ -16,7 +16,7 @@ ARG NB_USER=jovyan
ARG NB_UID=1000
ARG NB_GID=100
ARG JUPYTERHUB_VERSION=1.4.2
ARG JUPYTERLAB_VERSION=3.1.14
ARG JUPYTERLAB_VERSION=3.1.18
ARG CODE_SERVER_RELEASE=3.12.0
ARG GIT_VERSION=2.33.0
ARG PANDOC_VERSION=2.14.2
......@@ -138,17 +138,16 @@ RUN dpkgArch="$(dpkg --print-architecture)" \
&& echo '{\n "@jupyterlab/apputils-extension:themes": {\n "theme": "JupyterLab Dark"\n }\n}' > /usr/local/share/jupyter/lab/settings/overrides.json \
## Install code-server extensions
&& cd /tmp \
&& curl -sLO https://dl.b-data.ch/vsix/alefragnani.project-manager-12.4.0.vsix \
&& code-server --extensions-dir ${CODE_BUILTIN_EXTENSIONS_DIR} --install-extension alefragnani.project-manager-12.4.0.vsix \
&& curl -sLO https://dl.b-data.ch/vsix/piotrpalarz.vscode-gitignore-generator-1.0.3.vsix \
&& code-server --extensions-dir ${CODE_BUILTIN_EXTENSIONS_DIR} --install-extension piotrpalarz.vscode-gitignore-generator-1.0.3.vsix \
&& code-server --extensions-dir ${CODE_BUILTIN_EXTENSIONS_DIR} --install-extension alefragnani.project-manager \
&& code-server --extensions-dir ${CODE_BUILTIN_EXTENSIONS_DIR} --install-extension GitLab.gitlab-workflow \
&& code-server --extensions-dir ${CODE_BUILTIN_EXTENSIONS_DIR} --install-extension ms-python.python \
&& code-server --extensions-dir ${CODE_BUILTIN_EXTENSIONS_DIR} --install-extension christian-kohler.path-intellisense \
&& code-server --extensions-dir ${CODE_BUILTIN_EXTENSIONS_DIR} --install-extension eamodio.gitlens \
&& code-server --extensions-dir ${CODE_BUILTIN_EXTENSIONS_DIR} --install-extension redhat.vscode-yaml \
&& code-server --extensions-dir ${CODE_BUILTIN_EXTENSIONS_DIR} --install-extension grapecity.gc-excelviewer \
&& code-server --extensions-dir ${CODE_BUILTIN_EXTENSIONS_DIR} --install-extension Ikuyadeu.r@2.3.0 \
&& code-server --extensions-dir ${CODE_BUILTIN_EXTENSIONS_DIR} --install-extension Ikuyadeu.r@2.3.1 \
&& mkdir -p /usr/local/bin/start-notebook.d \
&& mkdir -p /usr/local/bin/before-notebook.d \
&& cd / \
......
......@@ -55,7 +55,7 @@ if [ "$(id -u)" == 0 ] ; then
if [[ ! -e "/home/${NB_USER}" ]]; then
echo "Copying home dir to /home/${NB_USER}"
mkdir "/home/${NB_USER}"
cp -R /home/jovyan "/home/${NB_USER}" || ln -s /home/jovyan "/home/${NB_USER}"
cp -a /home/jovyan/. "/home/${NB_USER}/" || ln -s /home/jovyan "/home/${NB_USER}"
fi
# if workdir is in /home/jovyan, cd to /home/${NB_USER}
if [[ "${PWD}/" == "/home/jovyan/"* ]]; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment