|
1 | 1 | FROM mambaorg/micromamba:2.0.8-debian12-slim AS build |
2 | 2 |
|
3 | | -RUN micromamba install -y python=3.12 blas[build=mkl] 'numpy=2.4.*' scipy tqdm pyyaml pillow click gcc |
4 | | -RUN micromamba install -y openmpi=4.1.6 mpi |
5 | | -RUN micromamba install -y h5py[build=*openmpi*] hdf5plugin |
6 | | -RUN micromamba install -y mpi4py |
7 | | -RUN micromamba install -y aiofiles graypy imageio loguru pluggy pytest iniconfig |
8 | | -RUN micromamba install -y tomopy=1.15.3 scikit-image |
9 | | -RUN micromamba install -y cuda-version=12.9 cuda-cudart==12.9.* cupy=14.0.* nvtx |
10 | | -RUN micromamba install -y -c astra-toolbox -c conda-forge astra-toolbox::astra-toolbox |
11 | | -RUN micromamba run python -m pip install tomobar |
12 | | -RUN micromamba run python -m pip install --no-deps httomolib httomolibgpu httomo-backends |
| 3 | +RUN micromamba install -y -c astra-toolbox -c conda-forge python=3.12 blas[build=mkl] 'numpy=2.4.*' tqdm pyyaml pillow click gcc openmpi=4.1.6 mpi h5py[build=*openmpi*] hdf5plugin mpi4py aiofiles graypy imageio loguru iniconfig tomopy=1.15.3 scikit-image cuda-version=12.9 cuda-cudart==12.9.* cupy=14.0.* nvtx astra-toolbox::astra-toolbox |
| 4 | +RUN micromamba run python -m pip install --no-cache-dir --no-deps tomobar httomolib httomolibgpu httomo-backends |
| 5 | +RUN micromamba uninstall -n base -y gcc |
13 | 6 | RUN micromamba clean -y --all --force-pkgs-dirs |
14 | 7 |
|
15 | 8 | COPY . . |
16 | | -RUN micromamba run python -m pip install --no-deps . |
| 9 | +RUN micromamba run python -m pip install --no-cache-dir --no-deps . |
17 | 10 |
|
18 | 11 | FROM nvidia/cuda:12.9.1-base-ubuntu24.04 AS deploy |
19 | 12 |
|
20 | 13 | COPY --from=build /opt/conda /opt/conda |
21 | 14 | ENV CONDA_PREFIX=/opt/conda |
| 15 | +ENV OMPI_MCA_plm_rsh_agent= |
22 | 16 |
|
23 | 17 | ENTRYPOINT ["/opt/conda/bin/python", "-m", "httomo", "run"] |
0 commit comments