diff --git a/docker/r-dsci-100-grading/Dockerfile b/docker/r-dsci-100-grading/Dockerfile index e99f3e2..a6bc2ad 100644 --- a/docker/r-dsci-100-grading/Dockerfile +++ b/docker/r-dsci-100-grading/Dockerfile @@ -4,13 +4,15 @@ FROM ubcdsci/r-dsci-100:latest LABEL maintainer="Tiffany Timbers " +# install the rise slides extension RUN mamba install --quiet --yes "rise" -# install nbgrader and rise extension +# install nbgrader RUN mamba install --quiet --yes "nbgrader=0.7.1" \ && jupyter nbextension install --sys-prefix --py nbgrader --overwrite \ && jupyter nbextension enable --sys-prefix --py nbgrader \ && jupyter serverextension enable --sys-prefix --py nbgrader +# Clean the cache RUN mamba clean --all -f -y diff --git a/docker/r-dsci-100/Dockerfile b/docker/r-dsci-100/Dockerfile index b4e83d5..d7ac0c2 100644 --- a/docker/r-dsci-100/Dockerfile +++ b/docker/r-dsci-100/Dockerfile @@ -39,6 +39,6 @@ RUN pip install git+https://github.com/data-8/nbgitpuller@c23461d4f7ce47ec4e0d2b && jupyter labextension install @techrah/text-shortcuts \ && jupyter lab build -#COPY rm-merge-shortcut.py /tmp/user-settings/\@jupyterlab/shortcuts-extension/shortcuts.jupyterlab-settings +# 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