From cb0de892fcef8e83d6903a79ac17272eb3b1a545 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 10 Dec 2024 21:21:26 +0000 Subject: [PATCH] fix: examples/demo/server/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-8235201 - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-8235201 --- examples/demo/server/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/demo/server/Dockerfile b/examples/demo/server/Dockerfile index c96da549ab2b..ac07a6d9f113 100644 --- a/examples/demo/server/Dockerfile +++ b/examples/demo/server/Dockerfile @@ -5,6 +5,6 @@ WORKDIR /app/ COPY . . RUN go env -w GOPROXY=direct RUN CGO_ENABLED=0 go build -o main main.go -FROM alpine:3.20 +FROM alpine:3.21.0 COPY --from=build /app/main /app/main CMD ["/app/main"]