Skip to content

Commit e5cd919

Browse files
authored
Merge pull request #1 from WinawerLab/main
Pulling updates from the NYU-annotate repo into cortex-annotate so that we can rebase
2 parents feb8641 + f9392e3 commit e5cd919

File tree

8 files changed

+620
-223
lines changed

8 files changed

+620
-223
lines changed

Dockerfile

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Configuration ################################################################
1111

1212
# 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
1414
# Note the Maintainer.
1515
MAINTAINER Noah C. Benson <nben@uw.edu>
1616

@@ -78,19 +78,19 @@ RUN curl -L -o /data/required_subjects/fsaverage_sym.tar.gz \
7878
USER $NB_USER
7979
# Install some stuff we are likely to need, including neuropythy.
8080

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
9089
# 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
9494
RUN mkdir -p /home/$NB_USER/.jupyter/custom
9595
# Copy the config directory's requirements over and install them.
9696
COPY config/requirements.txt /build/

0 commit comments

Comments
 (0)