From 5fd6b127ea598a0ba3c70cf5895fae446a446281 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 7 Sep 2024 18:04:37 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7895537 - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7895537 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 57efe1f..8cec2ed 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.20.3 RUN apk --no-cache add ca-certificates tzdata COPY --from=builder /go/bin/scout /usr/local/bin