From a389cdced5eb1f3058079f08e8ae56cbafffc431 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 14 Apr 2022 01:46:50 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN9-CURL-466508 - https://snyk.io/vuln/SNYK-DEBIAN9-GIT-537142 - 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..a90881e9de067 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ ARG CROSS="false" -FROM golang:1.12.6 AS base +FROM golang:1.17.8 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