From fc330172842e928898fa5860501b1cce155cf2b3 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 3 Oct 2024 14:15:19 +0000 Subject: [PATCH] fix: tools/code-generator/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133 - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133 - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133 - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133 - https://snyk.io/vuln/SNYK-DEBIAN11-NGHTTP2-5953384 --- tools/code-generator/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/code-generator/Dockerfile b/tools/code-generator/Dockerfile index 21e4097..30a22c1 100644 --- a/tools/code-generator/Dockerfile +++ b/tools/code-generator/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19.7 +FROM golang:1.23.1 RUN apt-get update && apt-get install -y unzip ENV GO111MODULE on RUN git clone https://github.com/kubernetes/code-generator.git /go/src/k8s.io/code-generator \ @@ -18,7 +18,7 @@ RUN PROTOBUF_VERSION=3.14.0; ZIPNAME="protoc-${PROTOBUF_VERSION}-linux-x86_64.zi && rm -rf /tmp/protoc \ && protoc --version -FROM golang:1.19.7 +FROM golang:1.23.1 COPY --from=0 /go/src/k8s.io/code-generator /go/src/k8s.io/code-generator COPY --from=0 /go/bin/ /go/bin COPY --from=0 /usr/local/bin /usr/local/bin