From 3724e92a619c2618daef08ada03684c0d722622c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 12 Jul 2024 21:03:07 +0000 Subject: [PATCH] fix: tensorflow/tools/ci_build/Dockerfile.rbe.ubuntu16.04-manylinux2010 to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UBUNTU1604-SYSTEMD-1320131 - https://snyk.io/vuln/SNYK-UBUNTU1604-SYSTEMD-1320131 - https://snyk.io/vuln/SNYK-UBUNTU1604-SYSTEMD-1320131 - https://snyk.io/vuln/SNYK-UBUNTU1604-SYSTEMD-1320131 - https://snyk.io/vuln/SNYK-UBUNTU1604-BASH-542609 --- .../tools/ci_build/Dockerfile.rbe.ubuntu16.04-manylinux2010 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow/tools/ci_build/Dockerfile.rbe.ubuntu16.04-manylinux2010 b/tensorflow/tools/ci_build/Dockerfile.rbe.ubuntu16.04-manylinux2010 index a14b9ac2a3e59e..d2f58f98ff082c 100644 --- a/tensorflow/tools/ci_build/Dockerfile.rbe.ubuntu16.04-manylinux2010 +++ b/tensorflow/tools/ci_build/Dockerfile.rbe.ubuntu16.04-manylinux2010 @@ -8,7 +8,7 @@ # --tag "gcr.io/tensorflow-testing/nosla-ubuntu16.04-manylinux2010" . # $ docker push gcr.io/tensorflow-testing/nosla-ubuntu16.04-manylinux2010 -FROM ubuntu:16.04 as devtoolset +FROM ubuntu:xenial-20210416 as devtoolset ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y \ @@ -37,7 +37,7 @@ RUN /build_devtoolset.sh devtoolset-7 /dt7 RUN /build_devtoolset.sh devtoolset-8 /dt8 # TODO(klimek): Split up into two different docker images. -FROM ubuntu:16.04 +FROM ubuntu:xenial-20210416 COPY --from=devtoolset /dt7 /dt7 COPY --from=devtoolset /dt8 /dt8