File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 22
33exec involucro \
44 -set POSTINSTALL=' create-env --conda=: /usr/local' \
5+ -set PREINSTALL=' conda() { mamba "${@}" ; }' \
56 " ${@ } "
Original file line number Diff line number Diff line change @@ -159,6 +159,8 @@ def test_package(
159159 # galaxy-lib always downloads involucro, unless it's in cwd or its path is explicitly given.
160160 # We inject a POSTINSTALL to the involucro command with a small wrapper to
161161 # create activation / entrypoint scripts for the container.
162+ # We also inject a PREINSTALL to alias conda to mamba so `mamba install` is
163+ # used instead of `conda install` in the container builds.
162164 involucro_path = os .path .join (os .path .dirname (__file__ ), 'involucro' )
163165 if not os .path .exists (involucro_path ):
164166 raise RuntimeError ('internal involucro wrapper missing' )
You can’t perform that action at this time.
0 commit comments