Skip to content

Commit

Permalink
Removed the additional nbgitpuller installation line
Browse files Browse the repository at this point in the history
  • Loading branch information
Alireza-Iranpour authored Oct 12, 2022
1 parent eef7dd2 commit 5ab11a4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions dockerfiles/r-stat-301/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,16 @@ 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 \
&& jupyter serverextension enable --sys-prefix nbgitpuller \
&& 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

0 comments on commit 5ab11a4

Please sign in to comment.