From caa5c0ac2940d9fb5798f447a939dd63f4f1973e Mon Sep 17 00:00:00 2001 From: Adrian Muraru Date: Fri, 28 Jul 2023 01:07:00 +0300 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities (#6) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-5776809 - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-5776809 Co-authored-by: snyk-bot --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9975d8e..a93d20e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ RUN CGO_ENABLED=0 go build \ ############################################################ # Runtime Image ############################################################ -FROM alpine:3.17 +FROM alpine:3 COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=builder /app/bin/kminion /app/kminion RUN chmod -R +x /app/kminion