From eaf98d71e855ca64688c32ebde315199b5dd4684 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 11 Aug 2023 21:01:17 +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-MUSL-458452 - https://snyk.io/vuln/SNYK-ALPINE310-MUSL-458452 - https://snyk.io/vuln/SNYK-ALPINE310-OPENSSL-1075741 - https://snyk.io/vuln/SNYK-ALPINE310-OPENSSL-1089244 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d3b53d8..6c68299 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.16.7 RUN addgroup --gid 1000 app && \ adduser --system --uid 1000 --ingroup app app