Skip to content

Commit

Permalink
Merge pull request #376 from srstsavage/mamba
Browse files Browse the repository at this point in the history
Use mamba for conda env dependency install in Dockerfile
  • Loading branch information
joefutrelle authored Jun 22, 2023
2 parents fe809ba + 8385247 commit 36cac45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN conda config --append channels conda-forge
RUN conda update conda

# nomkl to reduce image size (mkl is large)
RUN conda install -c conda-forge nomkl conda-merge
RUN conda install -c conda-forge nomkl conda-merge mamba

# install pyifcb and ifcbdb dependencies first
# pyifcb must be cloned into the same directory as this dockerfile
Expand All @@ -25,7 +25,7 @@ WORKDIR /envs
RUN conda-merge pyifcb_env.yml ifcbdb_env.yml > merged-environment.yml
RUN cat merged-environment.yml

RUN conda env update -n root -f merged-environment.yml
RUN mamba env update -n root -f merged-environment.yml

WORKDIR /pyifcb
RUN python setup.py develop
Expand Down

0 comments on commit 36cac45

Please sign in to comment.