|
10 | 10 | # Configuration ################################################################
|
11 | 11 |
|
12 | 12 | # Start with the python 3.10 Jupyter scipy-notebook docker-image.
|
13 |
| -FROM jupyter/scipy-notebook:python-3.10 |
| 13 | +FROM jupyter/scipy-notebook:x86_64-python-3.10 |
14 | 14 | # Note the Maintainer.
|
15 | 15 | MAINTAINER Noah C. Benson <nben@uw.edu>
|
16 | 16 |
|
@@ -78,19 +78,19 @@ RUN curl -L -o /data/required_subjects/fsaverage_sym.tar.gz \
|
78 | 78 | USER $NB_USER
|
79 | 79 | # Install some stuff we are likely to need, including neuropythy.
|
80 | 80 |
|
81 |
| -# The following line that installs jupyter_contrib_nbextensions is a |
82 |
| -# bug workaround; it should be replaced by just this line once the |
83 |
| -# bug is fixed: |
84 |
| -# && conda install -y -cconda-forge ipywidgets pip jupyter_contrib_nbextensions |
85 |
| -RUN conda update -y -n base conda \ |
86 |
| - && conda install -y nibabel s3fs \ |
87 |
| - && conda install -y -cconda-forge ipywidgets pip 'jupyter_contrib_nbextensions < 0.7' 'traitlets = 5.9.0' \ |
88 |
| - && pip install --upgrade setuptools \ |
89 |
| - && pip install ipycanvas pyyaml neuropythy |
| 81 | +RUN mamba update -y -n base mamba |
| 82 | +RUN mamba update --all -y |
| 83 | +#RUN mamba install -y -cconda-forge nibabel s3fs |
| 84 | +RUN mamba install -y -cconda-forge \ |
| 85 | + ipywidgets pip traitlets webcolors jsonschema-with-format-nongpl |
| 86 | +RUN pip install --upgrade setuptools |
| 87 | +RUN pip install ipycanvas pyyaml neuropythy nibabel s3fs |
| 88 | +RUN pip install diplib |
90 | 89 | # Install collapsible cell extensions...
|
91 |
| -RUN jupyter contrib nbextension install --user \ |
92 |
| - && jupyter nbextension enable collapsible_headings/main \ |
93 |
| - && jupyter nbextension enable select_keymap/main |
| 90 | +#RUN mamba install -cconda-forge jupyter_contrib_nbextensions \ |
| 91 | +# && jupyter contrib nbextension install --user \ |
| 92 | +# && jupyter nbextension enable collapsible_headings/main \ |
| 93 | +# && jupyter nbextension enable select_keymap/main |
94 | 94 | RUN mkdir -p /home/$NB_USER/.jupyter/custom
|
95 | 95 | # Copy the config directory's requirements over and install them.
|
96 | 96 | COPY config/requirements.txt /build/
|
|
0 commit comments