Skip to content

Commit

Permalink
refactor: Tweak install with conda lock files (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsetiawan authored May 9, 2024
1 parent 09aa41e commit 0c13907
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ ONBUILD RUN echo "Checking for 'conda-lock.yml' 'conda-linux-64.lock' or 'enviro
; [ -d binder ] && cd binder \
; [ -d .binder ] && cd .binder \
; if test -f "conda-lock.yml" ; then \
micromamba create --name ${CONDA_ENV} --file conda-lock.yml \
micromamba create --yes --name ${CONDA_ENV} --file conda-lock.yml \
; elif test -f "conda-linux-64.lock" ; then \
micromamba create --name ${CONDA_ENV} --file conda-linux-64.lock \
micromamba create --yes --name ${CONDA_ENV} --file conda-linux-64.lock \
; elif test -f "environment.yml" ; then \
micromamba install --yes --name ${CONDA_ENV} --file environment.yml \
; else echo "No conda-lock.yml, conda-linux-64.lock, or environment.yml! *creating default env*" ; \
Expand Down

0 comments on commit 0c13907

Please sign in to comment.