From 9fcf366f965d459a060ee610a02d9a8182d7ffd0 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 30 Apr 2025 05:05:06 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963 - https://snyk.io/vuln/SNYK-DEBIAN12-PERL-9689899 - https://snyk.io/vuln/SNYK-DEBIAN12-NCURSES-6123823 - https://snyk.io/vuln/SNYK-DEBIAN12-NCURSES-6123823 - https://snyk.io/vuln/SNYK-DEBIAN12-NCURSES-6123823 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4f3d3ea..c8b3c1a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN go mod download COPY . . RUN env CGO_ENABLED=0 go build -ldflags="-s -w" -FROM debian:bookworm-20250407-slim +FROM debian:12.10-slim RUN adduser --gecos "" --disabled-password --home /home/cfu --shell /bin/bash cfu USER cfu