From 3dead0e9eef40075efc3708db73a52a2407513be Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 5 Sep 2024 21:39:18 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f8c7303f..36db68c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go # Refer to https://github.com/GoogleContainerTools/distroless for more details #FROM gcr.io/distroless/static:nonroot -FROM alpine:3.19 +FROM alpine:3.20 RUN apk add --no-cache bash WORKDIR / COPY --from=builder /workspace/manager .