From 163f4f0e7b1d67cdd9d52f572fea244356f73d6b Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Mon, 11 Mar 2024 11:51:47 +0200 Subject: [PATCH] generate: update autogenerate tools Fix code auto-generation. --- Dockerfile_generator | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile_generator b/Dockerfile_generator index da8884df6..3a4e4bedc 100644 --- a/Dockerfile_generator +++ b/Dockerfile_generator @@ -2,18 +2,18 @@ ARG BUILDER_IMAGE FROM ${BUILDER_IMAGE} as builder # Install tools -RUN go install github.com/vektra/mockery/v2@v2.32.0 && \ - go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.12.1 && \ - git clone https://github.com/kubernetes/code-generator -b v0.28.4 --depth 1 && \ - go install k8s.io/code-generator/cmd/go-to-protobuf/...@v0.28.4 && \ +RUN go install github.com/vektra/mockery/v2@v2.42.0 && \ + go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0 && \ + git clone https://github.com/kubernetes/code-generator -b v0.29.0 --depth 1 && \ + go install k8s.io/code-generator/cmd/go-to-protobuf/...@v0.29.0 && \ go install golang.org/x/tools/cmd/goimports@v0.11.0 && \ go install github.com/golang/protobuf/protoc-gen-go@v1.4.3 RUN apt-get update && apt-get install unzip -RUN curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v23.4/protoc-23.4-linux-x86_64.zip && \ - unzip protoc-23.4-linux-x86_64.zip -d /usr/local && \ - rm protoc-23.4-linux-x86_64.zip && \ +RUN curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v25.3/protoc-25.3-linux-x86_64.zip && \ + unzip protoc-25.3-linux-x86_64.zip -d /usr/local && \ + rm protoc-25.3-linux-x86_64.zip && \ chmod a+x /usr/local/bin/protoc && \ find /usr/local -type d | xargs chmod 755 && \ find /usr/local -type f | xargs chmod a+r