From 55b66fd5e49b308d43896f3b6174cf2b1afe25d7 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 1 Mar 2023 21:18:22 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-APT-522585 - https://snyk.io/vuln/SNYK-DEBIAN11-APT-522585 - https://snyk.io/vuln/SNYK-DEBIAN11-E2FSPROGS-2628459 - https://snyk.io/vuln/SNYK-DEBIAN11-GNUPG2-3330745 - https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-3318299 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ca52ab2..ef5fa61 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-slim +FROM debian:11.6-slim RUN apt-get update -y \ && apt-get install -y ca-certificates busybox \