From efbe70b8eba6bcc76609f0437646793a08fbd20a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 13 Jun 2023 15:06:17 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-3368735 - https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-5291773 - https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-5291777 - https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-5661566 - https://snyk.io/vuln/SNYK-DEBIAN11-SHADOW-5423922 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5f1412c..6c3aeec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN go mod download COPY . . RUN env CGO_ENABLED=0 go build -ldflags="-s -w" -FROM debian:bullseye-20230522-slim +FROM debian:bullseye-20230612-slim # Update package lists and upgrade existing packages RUN apt-get update && apt-get upgrade -y