From 003999bad1ef9301d976095892dddd7bba36b8fe Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 22 Jul 2023 06:39:52 +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-1089244 - https://snyk.io/vuln/SNYK-ALPINE310-OPENSSL-587954 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d3b53d8..5c9f091 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.14 RUN addgroup --gid 1000 app && \ adduser --system --uid 1000 --ingroup app app