From 7a229bdf9c7b16efad8b0744808a49b12af9b6f5 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 15 Nov 2024 18:29:56 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386 - https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-6913411 - https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-7249236 - https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-7249265 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3be2a48..0e3fd14 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /app RUN CGO_ENABLED=0 GOOS=linux go build -ldflags '-extldflags "-static"' -FROM alpine:3.18.3 +FROM alpine:3.20.3 RUN addgroup --gid 1000 app && \ adduser --system --uid 1000 --ingroup app app