From 5959231c66463e8af8eb3811748552f8ebecb1b1 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 29 May 2022 06:18:17 +0000 Subject: [PATCH] fix: build/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-DPKG-2847942 - https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-2807596 - https://snyk.io/vuln/SNYK-DEBIAN11-PCRE2-2808697 - https://snyk.io/vuln/SNYK-DEBIAN11-PCRE2-2808704 - https://snyk.io/vuln/SNYK-DEBIAN11-UTILLINUX-2401081 --- build/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Dockerfile b/build/Dockerfile index dad50ec..1f31019 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,6 +1,6 @@ FROM golang:1.17 as golang -FROM debian:bullseye as build +FROM debian:11 as build COPY --from=golang /usr/local/go /usr/local/go ENV PATH=/usr/local/go/bin:$PATH ENV GOPATH=${GOPATH:-/go}