mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
generate: update k8s code-generator to v0.27.1
Also, don't pre-install all k8s code-generator tools in the image. The generate-groups.sh of code-generator will do "go install" for the tools it needs which fails with permission denied error in some environments as it tries to overwrite the existing files owned by root.
This commit is contained in:
parent
e8183499d3
commit
bcd6ded4c0
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ FROM ${BUILDER_IMAGE} as builder
|
|||
# Install tools
|
||||
RUN go install github.com/vektra/mockery/v2@v2.20.0 && \
|
||||
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.9.2 && \
|
||||
git clone https://github.com/kubernetes/code-generator -b v0.24.3 --depth 1 && \
|
||||
go install k8s.io/code-generator/cmd/...@v0.24.3 && \
|
||||
git clone https://github.com/kubernetes/code-generator -b v0.27.1 --depth 1 && \
|
||||
go install k8s.io/code-generator/cmd/go-to-protobuf/...@v0.27.1 && \
|
||||
go install golang.org/x/tools/cmd/goimports@v0.1.1 && \
|
||||
go install github.com/golang/protobuf/protoc-gen-go@v1.4.3
|
||||
|
||||
|
|
Loading…
Reference in a new issue