From 5ab11a403a7915aa28bf18da2ccdfa0c0af83364 Mon Sep 17 00:00:00 2001 From: Alireza Iranpour <58800171+Alireza-Iranpour@users.noreply.github.com> Date: Tue, 11 Oct 2022 22:37:22 -0700 Subject: [PATCH] Removed the additional nbgitpuller installation line --- dockerfiles/r-stat-301/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dockerfiles/r-stat-301/Dockerfile b/dockerfiles/r-stat-301/Dockerfile index 6aedb16..934c3ce 100644 --- a/dockerfiles/r-stat-301/Dockerfile +++ b/dockerfiles/r-stat-301/Dockerfile @@ -52,7 +52,7 @@ RUN mamba install --quiet --yes \ && Rscript -e "install.packages('contextual', repos='http://cran.us.r-project.org')" \ && Rscript -e "install.packages('ISLR', repos='http://cran.us.r-project.org')" \ && Rscript -e "install.packages('ISLR2', repos='http://cran.us.r-project.org')" \ - && Rscript -e "install.packages('glmbb', repos='http://cran.us.r-project.org')" \ + && Rscript -e "install.packages('glmbb', repos='http://cran.us.r-project.org')" # Install nbgitpuller, jupytext, jlab-git RUN pip install git+https://github.com/data-8/nbgitpuller@c23461d4f7ce47ec4e0d2bcfc3b2fde4939b80f8 \ @@ -60,9 +60,8 @@ RUN pip install git+https://github.com/data-8/nbgitpuller@c23461d4f7ce47ec4e0d2b && pip install jupyterlab-git \ && pip install jupytext --upgrade \ && jupyter labextension install @techrah/text-shortcuts \ - && jupyter lab build \ - && pip install nbgitpuller - + && jupyter lab build + # Install the extension to remove the shift+M merge shortcut RUN mkdir -p /home/${NB_USER}/.jupyter/lab/user-settings/\@jupyterlab/shortcuts-extension COPY rm-merge-shortcut.py /home/${NB_USER}/.jupyter/lab/user-settings/\@jupyterlab/shortcuts-extension/shortcuts.jupyterlab-settings