From 7dcdf24d42faf2c39283a3331081009d38045f33 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 28 Jul 2024 04:35:00 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314624 - https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314624 - https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314641 - https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314643 - https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3368756 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 69909ac..f021b5c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ COPY . . RUN go env -w GOPRIVATE=github.com/kubeslice && \ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -mod=vendor -a -o /bin/kernel-forwarder . -FROM alpine:3.16.2 as runtime +FROM alpine:3.19.3 as runtime COPY --from=build /bin/kernel-forwarder /bin/kernel-forwarder ENTRYPOINT ["/bin/kernel-forwarder"]