From 6710dabcb8c1923524421ec2877daa6cf497b1e0 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 27 Jan 2024 12:24:40 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE319-OPENSSL-6148881 - https://snyk.io/vuln/SNYK-ALPINE319-OPENSSL-6148881 - https://snyk.io/vuln/SNYK-ALPINE319-OPENSSL-6159994 - https://snyk.io/vuln/SNYK-ALPINE319-OPENSSL-6159994 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 57efe1f..3df5297 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ COPY *.go . RUN CGO_ENABLED=0 GOOS=linux go build -a -o /go/bin/scout . ######## Start a new stage from scratch ####### -FROM alpine:latest +FROM alpine:3.19.1 RUN apk --no-cache add ca-certificates tzdata COPY --from=builder /go/bin/scout /usr/local/bin