Skip to content

Commit

Permalink
minor edits to dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorcampbell committed Jul 21, 2022
1 parent b5b29f5 commit f6eabc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docker/r-dsci-100-grading/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ FROM ubcdsci/r-dsci-100:latest

LABEL maintainer="Tiffany Timbers <[email protected]>"

# 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

2 changes: 1 addition & 1 deletion docker/r-dsci-100/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f6eabc9

Please sign in to comment.