From e7cbc645c8028d016b40f5f08f559f7343092eb3 Mon Sep 17 00:00:00 2001 From: Khanh Tran <32532742+khanhtc1202@users.noreply.github.com> Date: Fri, 13 Dec 2024 09:06:34 +0700 Subject: [PATCH] fix: docs/Dockerfile to reduce vulnerabilities (#5406) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-8235201 - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-8235201 Signed-off-by: t-kikuc Co-authored-by: snyk-bot --- docs/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Dockerfile b/docs/Dockerfile index 1160dde943..25bad9f34e 100644 --- a/docs/Dockerfile +++ b/docs/Dockerfile @@ -2,7 +2,7 @@ FROM golang:1.22.4-alpine3.20 AS builder COPY main.go . RUN go build -o /server main.go -FROM alpine:3.20 +FROM alpine:3.21.0 RUN apk --no-cache add ca-certificates COPY --from=builder /server ./