From e4b24a494d183688227da715b68843bd2921da18 Mon Sep 17 00:00:00 2001 From: Julien Jerphanion Date: Wed, 21 Aug 2024 16:20:32 +0200 Subject: [PATCH] Initialize current shell Signed-off-by: Julien Jerphanion --- repo2docker/buildpacks/conda/install-base-env.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repo2docker/buildpacks/conda/install-base-env.bash b/repo2docker/buildpacks/conda/install-base-env.bash index 2182be77..155dc5f1 100755 --- a/repo2docker/buildpacks/conda/install-base-env.bash +++ b/repo2docker/buildpacks/conda/install-base-env.bash @@ -23,6 +23,8 @@ chmod 0755 "$MICROMAMBA_EXE" eval "$(${MICROMAMBA_EXE} shell hook -p ${CONDA_DIR} -s posix)" +eval "$(micromamba shell hook --shell )" + micromamba activate export PATH="${PWD}/bin:$PATH"