Skip to content

Commit a97f239

Browse files
authored
Update Dockerfile
disable the jupyterlab extension manager first before install r packages
1 parent 3fa8dd8 commit a97f239

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

images/datascience-notebook/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,11 @@ RUN mamba install -c conda-forge jupyterhub=$JUPYTERHUB_VERSION jupyter_server=$
8888
fix-permissions /home/$NB_USER && \
8989
mamba clean --all
9090

91+
# Disable the jupyterlab extensions manager
92+
RUN jupyter labextension disable @jupyterlab/extensionmanager-extension
93+
9194
# Install R packages
92-
RUN mamba install -c conda-forge r-markdown r-covr r-git2r r-crosstalk r-dt -y && \
95+
RUN mamba install -c conda-forge r-markdown r-covr r-git2r r-crosstalk r-dt r-sf -y && \
9396
fix-permissions $CONDA_DIR && \
9497
fix-permissions /home/$NB_USER && \
9598
mamba clean -a -y
@@ -99,9 +102,6 @@ RUN /usr/share/datahub/scripts/install-python-all.sh && \
99102
chown -R jovyan:users /opt/conda/etc/jupyter/nbconfig && \
100103
chmod -R +r /opt/conda/etc/jupyter/nbconfig
101104

102-
# Disable the jupyterlab extensions manager
103-
RUN jupyter labextension disable @jupyterlab/extensionmanager-extension
104-
105105
# Cleanup
106106
## nbgrader requires these variables set to just run the notebook server
107107
ENV NBGRADER_COURSEID="NA"

0 commit comments

Comments
 (0)