From 4d3c49579f46439b5c2453cbf3f873db45fc27ed Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 21 Oct 2024 17:26:32 +0000 Subject: [PATCH] fix: examples/demo/server/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE319-OPENSSL-8235202 - https://snyk.io/vuln/SNYK-ALPINE319-OPENSSL-8235202 --- 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 2e144949cc7d..6922d6027bfb 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.19 +FROM alpine:3.20.3 COPY --from=build /app/main /app/main CMD ["/app/main"]