File tree Expand file tree Collapse file tree 2 files changed +11
-21
lines changed
tensorflow/training/docker/2.19/py3 Expand file tree Collapse file tree 2 files changed +11
-21
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ RUN wget https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSIO
132132
133133RUN ${PIP} --no-cache-dir install --upgrade \
134134 pip \
135- " setuptools>=81.0.0"
135+ setuptools
136136
137137# Some TF tools expect a "python" binary
138138RUN ln -s $(which ${PYTHON}) /usr/local/bin/python \
@@ -289,27 +289,22 @@ RUN $PYTHON -m pip install --no-cache-dir -U \
289289 shap
290290
291291RUN $PYTHON -m pip install --no-cache-dir -U \
292- sagemaker \
293- sagemaker-experiments \
294- sagemaker-tensorflow-training \
295- sagemaker-training \
296- y-py \
297- sagemaker-studio-analytics-extension \
298- " sparkmagic<1" \
299- sagemaker-studio-sparkmagic-lib \
300- smclarify
292+ sagemaker==2.254.1 \
293+ sagemaker-experiments==0.1.45 \
294+ sagemaker-tensorflow-training==20.4.1 \
295+ sagemaker-training==5.1.1 \
296+ y-py==0.6.2 \
297+ sagemaker-studio-analytics-extension==0.1.7 \
298+ sparkmagic==0.22.0 \
299+ sagemaker-studio-sparkmagic-lib==0.1.4 \
300+ smclarify==0.5
301301
302302# Remove python kernel installed by sparkmagic
303303RUN /usr/local/bin/jupyter-kernelspec remove -f python3
304304
305305# Remove ipykernel
306306RUN rm -rf /usr/local/share/jupyter/kernels/python3/kernel.json
307307
308- # Clean up JupyterLab staging and test directories to remove CVEs
309- RUN rm -rf /usr/local/lib/python*/site-packages/jupyterlab/staging \
310- && rm -rf /usr/local/lib/python*/site-packages/jupyterlab/tests \
311- && rm -rf /usr/local/share/jupyter/lab/staging
312-
313308# remove tmp files
314309RUN rm -rf /tmp/*
315310
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ RUN wget https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSIO
193193
194194RUN ${PIP} --no-cache-dir install --upgrade \
195195 pip \
196- " setuptools>=81.0.0" \
196+ setuptools \
197197 wheel
198198
199199# Some TF tools expect a "python" binary
@@ -392,11 +392,6 @@ RUN /usr/local/bin/jupyter-kernelspec remove -f python3
392392# Remove ipykernel
393393RUN rm -rf /usr/local/share/jupyter/kernels/python3/kernel.json
394394
395- # Clean up JupyterLab staging and test directories to remove CVEs
396- RUN rm -rf /usr/local/lib/python*/site-packages/jupyterlab/staging \
397- && rm -rf /usr/local/lib/python*/site-packages/jupyterlab/tests \
398- && rm -rf /usr/local/share/jupyter/lab/staging
399-
400395# remove tmp files
401396RUN rm -rf /tmp/*
402397
You can’t perform that action at this time.
0 commit comments