From c447806dd26c0e5de5950f5b56792255a310857a Mon Sep 17 00:00:00 2001 From: Satrajit Ghosh Date: Thu, 5 May 2022 21:57:47 -0400 Subject: [PATCH 1/2] add nbgitpuller --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index b4fd39b..e6fb999 100644 --- a/Dockerfile +++ b/Dockerfile @@ -97,3 +97,4 @@ RUN rm -rf /home/${NB_USER}/.cache/matplotlib \ ARG GITHUB_PAT RUN R -e "devtools::install_github('AWKruijt/eMergeR')" +RUN pip install --no-cache-dir nbgitpuller From 7df66eecb0d63b4899341084661ee853b5ea6255 Mon Sep 17 00:00:00 2001 From: Satrajit Ghosh Date: Fri, 6 May 2022 09:02:11 -0400 Subject: [PATCH 2/2] clean up jupyterlab --- Dockerfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e6fb999..e8929f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -62,7 +62,7 @@ RUN curl -sSL "https://fonts.google.com/download?family=Libre%20Franklin" -o /tm RUN fc-cache -v # Installing precomputed python packages -RUN conda install -y -c conda-forge -c anaconda \ +RUN conda install -y -c conda-forge \ attr \ jupytext \ nibabel \ @@ -97,4 +97,13 @@ RUN rm -rf /home/${NB_USER}/.cache/matplotlib \ ARG GITHUB_PAT RUN R -e "devtools::install_github('AWKruijt/eMergeR')" + RUN pip install --no-cache-dir nbgitpuller +RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build \ + && export NODE_OPTIONS=--max-old-space-size=4096 \ + && jupyter lab build && \ + jupyter lab clean && \ + jlpm cache clean && \ + npm cache clean --force && \ + rm -rf $HOME/.node-gyp && \ + rm -rf $HOME/.local && rm -rf /tmp/*