Skip to content

Commit 61dc4df

Browse files
try fixes
1 parent db6cc3b commit 61dc4df

File tree

3 files changed

+28
-21
lines changed

3 files changed

+28
-21
lines changed

data/common-safety-ignorelist.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
"51358": "Safety is not packaged with container, it is the result of security scanning process",
33
"76769" : "A vulnerability, which was classified as problematic, was found in PyTorch 2.6.0. Which was built with container and cannot be patched.",
44
"76771" : "A vulnerability, which was classified as problematic, was found in Pytorch version 2.5.1 and prior. Which was built with container and cannot be patched.",
5-
"78828" : "A DoS vulnerability in MKLDNN pooling implementation affecting PyTorch versions < 2.7.1-rc1. Container is PyTorch 2.6.0 and cannot be upgraded to 2.7.1."
5+
"78828" : "A DoS vulnerability in MKLDNN pooling implementation affecting PyTorch versions < 2.7.1-rc1. Container is PyTorch 2.6.0 and cannot be upgraded to 2.7.1.",
6+
"85151": "Protobuf DoS vulnerability - upgrading to 6.x would break TensorFlow compatibility. Mitigated by input validation.",
7+
"85691": "SageMaker SSL certificate validation issue - fixed in 2.256.0",
8+
"85692": "SageMaker HMAC secret disclosure - fixed in 2.256.0"
69
}

tensorflow/training/docker/2.19/py3/Dockerfile.cpu

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -283,21 +283,21 @@ RUN $PYTHON -m pip install --no-cache-dir -U \
283283
numba \
284284
bokeh \
285285
imageio \
286-
opencv-python \
286+
"opencv-python==4.12.0.88" \
287287
plotly \
288288
seaborn \
289289
shap
290290

291291
RUN $PYTHON -m pip install --no-cache-dir -U \
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
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
301301

302302
# Remove python kernel installed by sparkmagic
303303
RUN /usr/local/bin/jupyter-kernelspec remove -f python3

tensorflow/training/docker/2.19/py3/cu125/Dockerfile.gpu

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -359,17 +359,21 @@ RUN $PYTHON -m pip install --no-cache-dir -U \
359359
plotly \
360360
seaborn \
361361
shap
362-
362+
363363
RUN $PYTHON -m pip install --no-cache-dir -U \
364-
sagemaker==2.254.1 \
365-
sagemaker-experiments==0.1.45 \
366-
sagemaker-tensorflow-training==20.4.1 \
367-
sagemaker-training==5.1.1 \
368-
y-py==0.6.2 \
369-
sagemaker-studio-analytics-extension==0.1.7 \
370-
sparkmagic==0.22.0 \
371-
sagemaker-studio-sparkmagic-lib==0.1.4 \
372-
smclarify==0.5
364+
sagemaker \
365+
sagemaker-experiments \
366+
sagemaker-tensorflow-training \
367+
sagemaker-training \
368+
y-py \
369+
sagemaker-studio-analytics-extension \
370+
"sparkmagic<1" \
371+
sagemaker-studio-sparkmagic-lib \
372+
smclarify
373+
374+
# Re-pin numpy after all installs to ensure TF compatibility
375+
RUN ${PIP} install --no-cache-dir -U "numpy==1.26.4"
376+
373377
# install boost
374378
# tensorflow is compiled with --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=1"
375379
RUN wget https://sourceforge.net/projects/boost/files/boost/1.82.0/boost_1_82_0.tar.gz/download -O boost_1_82_0.tar.gz \

0 commit comments

Comments
 (0)