From 6ade75f90c85b7507e19ca1b5e590487c87e86be Mon Sep 17 00:00:00 2001 From: Julien Jerphanion Date: Thu, 22 Aug 2024 09:18:06 +0200 Subject: [PATCH] Use `--root-prefix` flag instead of `--prefix` flag See: https://mamba.readthedocs.io/en/latest/developer_zone/changes-2.0.html#micromamba Signed-off-by: Julien Jerphanion Co-authored-by: Hind Montassif --- repo2docker/buildpacks/conda/install-base-env.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo2docker/buildpacks/conda/install-base-env.bash b/repo2docker/buildpacks/conda/install-base-env.bash index 9b494d9f..04dabf17 100755 --- a/repo2docker/buildpacks/conda/install-base-env.bash +++ b/repo2docker/buildpacks/conda/install-base-env.bash @@ -21,7 +21,7 @@ time wget -qO- ${URL} | tar -xvj bin/micromamba mv bin/micromamba "$MICROMAMBA_EXE" chmod 0755 "$MICROMAMBA_EXE" -eval "$(${MICROMAMBA_EXE} shell hook -p ${CONDA_DIR} -s posix)" +eval "$(${MICROMAMBA_EXE} shell hook --root-prefix ${CONDA_DIR} -s posix)" eval "$(micromamba shell hook --shell bash)"