From 2414e8ea43cf97c8576b5232646c5239ffa85c76 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 4 Jul 2023 10:12:15 +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-SYSTEMD-5733392 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5f1412c..9aa1d33 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:11-slim # Update package lists and upgrade existing packages RUN apt-get update && apt-get upgrade -y