Skip to content

Commit

Permalink
WIP: Fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Aug 26, 2024
1 parent a87949f commit 86fe361
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:20.04
FROM ubuntu:24.04

ARG mne_v=v0.23.0
ARG mne_v=v1.8.0

ENV DEBIAN_FRONTEND=noninteractive

Expand Down Expand Up @@ -39,26 +39,28 @@ SHELL ["/bin/bash", "--login", "-c"]

RUN conda install --yes \
-c conda-forge \
python==3.9 \
python==3.12 \
python-blosc \
cytoolz \
dask==2021.4.0 \
dask \
lz4 \
nomkl \
numpy==1.21.0 \
pandas==1.3.0 \
tini==0.18.0 \
numpy \
pandas \
tini \
pooch \
bokeh \
joblib \
nibabel \
h5py \
s3fs \
&& conda clean -tipy \
&& find /opt/conda/ -type f,l -name '*.a' -delete \
&& find /opt/conda/ -type f,l -name '*.pyc' -delete \
&& find /opt/conda/ -type f,l -name '*.js.map' -delete \
&& find /opt/conda/lib/python*/site-packages/bokeh/server/static -type f,l -name '*.js' -not -name '*.min.js' -delete \
&& rm -rf /opt/conda/pkgs

RUN pip install s3fs
RUN pip install bokeh
RUN pip install nibabel joblib h5py
RUN pip install pooch
RUN pip install https://github.com/mne-tools/mne-python/archive/${mne_v}.zip

ENTRYPOINT ["tini", "-g", "--", "/usr/bin/prepare.sh"]

0 comments on commit 86fe361

Please sign in to comment.