Skip to content

Commit 9e9b5ac

Browse files
committed
update: install same jupyterlab and sagemaker-jupyterlab version fron .in files
1 parent 7b88633 commit 9e9b5ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

template/v2/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ RUN if [[ -z $ARG_BASED_ENV_IN_FILENAME ]] ; \
9292
fi && \
9393
# Enforce dependencies are all installed from conda-forge
9494
micromamba install -y --name base --file /tmp/$ENV_IN_FILENAME && \
95+
JUPYTERLAB_VERSION=$(grep "^conda-forge::jupyterlab" /tmp/$ENV_IN_FILENAME) && \
96+
SAGEMAKER_EXTENSION_VERSION=$(grep "^conda-forge::sagemaker-jupyterlab-extension" /tmp/$ENV_IN_FILENAME) && \
97+
echo "Installing in recovery-mode micromamba environment: $JUPYTERLAB_SPEC $SAGEMAKER_EXTENSION_SPEC" && \
98+
micromamba install -n recovery-mode -y $JUPYTERLAB_VERSION $SAGEMAKER_EXTENSION_VERSION && \
9599
micromamba clean --all --yes --force-pkgs-dirs && \
96100
rm -rf /tmp/*.in && \
97101
sudo ln -s $(which python3) /usr/bin/python && \

0 commit comments

Comments
 (0)