File tree Expand file tree Collapse file tree 8 files changed +4
-1738
lines changed
build_artifacts/v3/v3.0/v3.0.1 Expand file tree Collapse file tree 8 files changed +4
-1738
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ RUN if [[ -z $ARG_BASED_ENV_IN_FILENAME ]] ; \
102102 JUPYTERLAB_VERSION=$(grep "^conda-forge::jupyterlab\[ " /tmp/$ENV_IN_FILENAME) && \
103103 SAGEMAKER_JUPYTERLAB_VERSION=$(grep "^conda-forge::sagemaker-jupyterlab-extension" /tmp/$ENV_IN_FILENAME) && \
104104 echo "Installing in sagemaker-recovery-mode micromamba environment: $JUPYTERLAB_VERSION $SAGEMAKER_JUPYTERLAB_VERSION" && \
105- micromamba create -n sagemaker-recovery-mode && \
106- micromamba install -n sagemaker-recovery-mode -y $JUPYTERLAB_VERSION $SAGEMAKER_JUPYTERLAB_VERSION $SUPERVISOR_VERSION && \
105+ micromamba create --prefix /opt/conda/envs/ sagemaker-recovery-mode && \
106+ micromamba install --prefix /opt/conda/envs/ sagemaker-recovery-mode -y $JUPYTERLAB_VERSION $SAGEMAKER_JUPYTERLAB_VERSION $SUPERVISOR_VERSION && \
107107 micromamba clean --all --yes --force-pkgs-dirs && \
108108 rm -rf /tmp/*.in && \
109109 sudo ln -s $(which python3) /usr/bin/python && \
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ eval "$(micromamba shell hook --shell=bash)"
99if [ -n " $SAGEMAKER_RECOVERY_MODE " ]; then
1010 export HOME=$SAGEMAKER_RECOVERY_MODE_HOME
1111 # Activate conda environment `sagemaker-recovery-mode`
12- micromamba activate /home/sagemaker-user/. conda/envs/sagemaker-recovery-mode
12+ micromamba activate /opt/ conda/envs/sagemaker-recovery-mode
1313else
1414 # Activate conda environment 'base'
1515 micromamba activate base
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ eval "$(micromamba shell hook --shell=bash)"
66if [ -n " $SAGEMAKER_RECOVERY_MODE " ]; then
77 export HOME=$SAGEMAKER_RECOVERY_MODE_HOME
88 # Activate conda environment `sagemaker-recovery-mode`
9- micromamba activate /home/sagemaker-user/. conda/envs/sagemaker-recovery-mode
9+ micromamba activate /opt/ conda/envs/sagemaker-recovery-mode
1010else
1111 # Activate conda environment 'base'
1212 micromamba activate base
You can’t perform that action at this time.
0 commit comments