From 28e5f454134f6a09b1a32b9f49d33573a997bf98 Mon Sep 17 00:00:00 2001 From: Snyk bot Date: Thu, 29 Jul 2021 16:16:07 +0300 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities (#7) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-CENTOS7-BINDLICENSE-577209 - https://snyk.io/vuln/SNYK-CENTOS7-DBUS-584292 - https://snyk.io/vuln/SNYK-CENTOS7-DBUSLIBS-584290 - https://snyk.io/vuln/SNYK-CENTOS7-GLIB2-1298086 - https://snyk.io/vuln/SNYK-CENTOS7-OPENSSLLIBS-1052499 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 80e0363..ef0d376 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM centos:7.8.2003 as builder +FROM centos:centos7.9.2009 as builder ARG VMC_VERSION=1.1-RC-2 ENV VMC_VERSION=${VMC_VERSION} @@ -16,7 +16,7 @@ ENV PATH="/opt/vmc/bin:$PATH" RUN pip3.6 install --no-cache-dir vmcenter==${VMC_VERSION} -FROM centos:7.8.2003 +FROM centos:centos7.9.2009 ENV TZ=Poland ENV PYTHONDONTWRITEBYTECODE 1