From 2b792c5bfc1b42ba65683a6d4e90c98cc371d121 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 29 Sep 2023 19:28:29 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE310-APKTOOLS-1534688 - https://snyk.io/vuln/SNYK-ALPINE310-BUSYBOX-1090151 - https://snyk.io/vuln/SNYK-ALPINE310-BUSYBOX-1090151 - https://snyk.io/vuln/SNYK-ALPINE310-MUSL-458452 - https://snyk.io/vuln/SNYK-ALPINE310-MUSL-458452 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d3b53d8..9dd91e0 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.10.1 +FROM alpine:3.18.3 RUN addgroup --gid 1000 app && \ adduser --system --uid 1000 --ingroup app app