Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to fix brokenness with nbclassic override. #6

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@ RUN apt update && \
zsh && \
apt-get clean

RUN pip install -U nbclassic

RUN pip install jupyter_contrib_nbextensions && \
jupyter contrib nbextension install --sys-prefix && \
jupyter nbextension enable toc2/main --sys-prefix && \
jupyter nbextension enable table_beautifier/main --sys-prefix && \
jupyter nbextension enable toggle_all_line_numbers/main --sys-prefix

ARG RPY2_CFFI_MODE=ABI

RUN pip install \
datascience \
Expand All @@ -44,31 +35,4 @@ RUN pip install \
jupyterlab_widgets \
ipympl

RUN pip install --upgrade jupyterlab-git && \
jupyter nbextension enable export_embedded/main --sys-prefix && \
pip install nbzip && \
jupyter serverextension enable nbzip --py --sys-prefix && \
jupyter nbextension install nbzip --py --sys-prefix && \
jupyter nbextension enable nbzip --py --sys-prefix

RUN jupyter nbextensions_configurator enable --sys-prefix && \
pip install --pre rise && \
jupyter nbextension install rise --py --sys-prefix && \
jupyter nbextension enable rise --py --sys-prefix && \
pip install git+https://github.com/fdion/hide_code@compatibility && \
jupyter nbextension install --py hide_code --sys-prefix && \
jupyter nbextension enable --py hide_code --sys-prefix && \
jupyter serverextension enable --py hide_code --sys-prefix

RUN rm -f /opt/conda/share/jupyter/lab/extensions/jupyter-matplotlib-0.4.* \
rm -f /opt/conda/share/jupyter/lab/extensions/jupyterlab_bokeh-1.0.0.tgz \
rm -f /opt/conda/share/jupyter/lab/extensions/jupyterlab_vim-0.11.0.tgz \
rm -f /opt/conda/share/jupyter/lab/extensions/jupyter-widgets-jupyterlab-manager-1.1.0.tgz \
rm -f /opt/conda/share/jupyter/lab/extensions/nbdime-jupyterlab-1.0.0.tgz

# RUN npm install -g npm@latest && \
RUN npm install -g codemirror && \
jupyter nbextension enable table_beautifier/main --sys-prefix && \
jupyter nbextension enable toggle_all_line_numbers/main --sys-prefix

USER $NB_USER