From 229110fdfd02ba37188036e7c8ef6e1a6e34b013 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 24 Jul 2024 05:10:31 +0000 Subject: [PATCH] fix: forwarder/kernel-forwarder/build/Dockerfile.kernel-forwarder 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 --- forwarder/kernel-forwarder/build/Dockerfile.kernel-forwarder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forwarder/kernel-forwarder/build/Dockerfile.kernel-forwarder b/forwarder/kernel-forwarder/build/Dockerfile.kernel-forwarder index 9a8552ab..36d98ee7 100644 --- a/forwarder/kernel-forwarder/build/Dockerfile.kernel-forwarder +++ b/forwarder/kernel-forwarder/build/Dockerfile.kernel-forwarder @@ -16,7 +16,7 @@ RUN go get github.com/mpvl/unique RUN CGO_ENABLED=0 GOOS=linux go build ${VENDORING} -ldflags "-extldflags '-static'" -o /go/bin/kernel-forwarder ./kernel-forwarder/cmd/kernel-forwarder.go -FROM alpine:3.16.2 as runtime +FROM alpine:3.19 as runtime COPY --from=build /go/bin/kernel-forwarder /bin/kernel-forwarder ENTRYPOINT ["/bin/kernel-forwarder"]