From e7cd2898067c1f4cf4cb96315a74b49ed44c2208 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 3 Apr 2022 00:25:13 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN9-MERCURIAL-311113 - https://snyk.io/vuln/SNYK-DEBIAN9-OPENSSL-2426305 - https://snyk.io/vuln/SNYK-DEBIAN9-PYTHON27-1063180 - https://snyk.io/vuln/SNYK-DEBIAN9-PYTHON27-340070 - https://snyk.io/vuln/SNYK-DEBIAN9-PYTHON27-341379 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 45aa84559010b..d85d99b9c6189 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ ARG CROSS="false" -FROM golang:1.12.6 AS base +FROM golang:1.18 AS base # allow replacing httpredir or deb mirror ARG APT_MIRROR=deb.debian.org RUN sed -ri "s/(httpredir|deb).debian.org/$APT_MIRROR/g" /etc/apt/sources.list