From 86fe361ffcc24c532ff5deef5623b6d4080013ce Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Tue, 27 Aug 2024 08:28:40 +1000 Subject: [PATCH] WIP: Fix dockerfile --- base/Dockerfile | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/base/Dockerfile b/base/Dockerfile index 08b7b8b..72578e3 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -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 @@ -39,15 +39,21 @@ 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 \ @@ -55,10 +61,6 @@ RUN conda install --yes \ && 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"]