From 5e9ac82af36e44d22f499c8ea0aefb5f60227792 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 27 Jan 2025 23:03:19 +0000 Subject: [PATCH] fix: images/kubexit/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE311-ZLIB-2977081 --- images/kubexit/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/kubexit/Dockerfile b/images/kubexit/Dockerfile index 6226a5a6b8..7b5d0955ca 100644 --- a/images/kubexit/Dockerfile +++ b/images/kubexit/Dockerfile @@ -24,7 +24,7 @@ RUN git clone -b v0.1.0-cortex --depth 1 https://github.com/cortexlabs/kubexit. WORKDIR /tmp/kubexit RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o kubexit ./cmd/kubexit -FROM alpine:3.11 +FROM alpine:3.21.2 RUN apk --no-cache add ca-certificates tzdata COPY --from=builder /tmp/kubexit/kubexit /bin/ ENTRYPOINT ["kubexit"]