@@ -32,15 +32,15 @@ ENV PYDEVD_DISABLE_FILE_VALIDATION=1
32
32
COPY conda-linux-64.lock /tmp/conda-linux-64.lock
33
33
34
34
# Install R packages from lock file.
35
- RUN mamba update --quiet --file /tmp/conda-linux-64.lock && \
36
- mamba clean --all -y -f && \
37
- fix-permissions "${CONDA_DIR}" && \
38
- fix-permissions "/home/${NB_USER}" && \
39
- Rscript -e
"devtools::install_github('UBC-MDS/[email protected] ')" && \
40
- Rscript -e
"devtools::install_github('UBC-MDS/[email protected] ')"
35
+ RUN mamba update --quiet --file /tmp/conda-linux-64.lock \
36
+ && mamba clean --all -y -f \
37
+ && fix-permissions "${CONDA_DIR}" \
38
+ && fix-permissions "/home/${NB_USER}" \
39
+ && Rscript -e
"devtools::install_github('UBC-MDS/[email protected] ')" \
40
+ && Rscript -e
"devtools::install_github('UBC-MDS/[email protected] ')"
41
41
42
42
# Install pexpect from main branch to fix asyncio issue with jupyterlab_git
43
- RUN pip install --ignore-installed git+https://github.com/ pexpect/pexpect.git@master
43
+ RUN pip install --no-cache pexpect==4.9.0
44
44
45
45
# Disable the cell toolbar (which ignores metadata and students often accidentally click + delete grading cells)
46
46
RUN jupyter labextension disable @jupyterlab/cell-toolbar-extension
@@ -57,6 +57,10 @@ COPY config/jupyter_server_config.py /home/${NB_USER}/.jupyter
57
57
# Copy gitconfig that sets global default pull strategy to rebase
58
58
COPY config/.gitconfig /home/${NB_USER}/
59
59
60
+ # install rise from fork wheel with fixed CSS
61
+ COPY jupyterlab_rise-0.42.0-py3-none-any.whl ./
62
+ RUN pip install wheel && pip install jupyterlab_rise-0.42.0-py3-none-any.whl && rm -f jupyterlab_rise-0.42.0-py3-none-any.whl
63
+
60
64
# Make sure everything in the home folder is owned by NB_USER for running docker image locally.
61
65
USER root
62
66
RUN chown -R ${NB_USER} /home/${NB_USER}
0 commit comments