Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Jerphanion <[email protected]>
  • Loading branch information
jjerphan committed Jan 31, 2025
1 parent 548e763 commit 0b8c84d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion repo2docker/buildpacks/conda/install-base-env.bash
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ chmod 0755 "$MICROMAMBA_EXE"

# Setting up micromamba in this shell and permanently
eval "$(${MICROMAMBA_EXE} shell hook --root-prefix ${CONDA_DIR} -s posix)"
${MICROMAMBA_EXE} shell init -s bash --root-prefix ${CONDA_DIR}


micromamba activate

Expand All @@ -43,6 +43,8 @@ micromamba install \
-c conda-forge \
conda=${CONDA_VERSION} mamba=${MAMBA_VERSION} -y

export "export MAMBA_ROOT_PREFIX=${CONDA_DIR}" >> ${CONDA_DIR}/etc/profile.d/mamba.sh

echo "installing notebook env:"
cat "${NB_ENVIRONMENT_FILE}"

Expand Down

0 comments on commit 0b8c84d

Please sign in to comment.