From b1b451938942524c9cdce38545ebe007bbcccade Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 28 Nov 2023 15:10:52 +0000 Subject: [PATCH] fix: build/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6062102 - https://snyk.io/vuln/SNYK-DEBIAN11-LIBGCRYPT20-1297892 - https://snyk.io/vuln/SNYK-DEBIAN11-LIBGCRYPT20-523947 - https://snyk.io/vuln/SNYK-DEBIAN11-PERL-6085272 - https://snyk.io/vuln/SNYK-DEBIAN11-ZLIB-6008961 --- build/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Dockerfile b/build/Dockerfile index 06a692d..053a837 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,6 +1,6 @@ FROM golang:1.20 as golang -FROM debian:11 as build +FROM debian:bookworm-20231030 as build COPY --from=golang /usr/local/go /usr/local/go ENV PATH=/usr/local/go/bin:$PATH ENV GOPATH=${GOPATH:-/go}