Skip to content

Commit 8caab81

Browse files
Update Dockerfile to unblock build
1 parent ea81fa3 commit 8caab81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build_artifacts/v3/v3.2/v3.2.2/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ RUN if [[ -z $ARG_BASED_ENV_IN_FILENAME ]] ; \
9898
micromamba install -y --name base --file /tmp/$ENV_IN_FILENAME --file /tmp/$PINNED_ENV_IN_FILENAME && \
9999
mkdir -p $SAGEMAKER_RECOVERY_MODE_HOME && \
100100
chown $MAMBA_USER:$MAMBA_USER $SAGEMAKER_RECOVERY_MODE_HOME && \
101-
SUPERVISOR_VERSION=$(grep "^conda-forge::supervisor\[" /tmp/$ENV_IN_FILENAME) && \
102-
JUPYTERLAB_VERSION=$(grep "^conda-forge::jupyterlab\[" /tmp/$ENV_IN_FILENAME) && \
103-
SAGEMAKER_JUPYTERLAB_VERSION=$(grep "^conda-forge::sagemaker-jupyterlab-extension" /tmp/$ENV_IN_FILENAME) && \
101+
SUPERVISOR_VERSION="supervisor==4.2.5" && \
102+
JUPYTERLAB_VERSION="jupyterlab==4.4.3" && \
103+
SAGEMAKER_JUPYTERLAB_VERSION="sagemaker-jupyterlab-extension==0.4.2" && \
104104
echo "Installing in sagemaker-recovery-mode micromamba environment: $JUPYTERLAB_VERSION $SAGEMAKER_JUPYTERLAB_VERSION" && \
105105
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 && \
106+
micromamba install -c conda-forge --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 && \

0 commit comments

Comments
 (0)