Skip to content

Commit

Permalink
Update builder to use golang 1.22.3 (#3246)
Browse files Browse the repository at this point in the history
* Update builder to use golang 1.22.3

Signed-off-by: Alex Kalenyuk <[email protected]>

* Update controller-gen to v0.14.0

Avoid make generate panic:
kubernetes-sigs/controller-tools#888

Signed-off-by: Alex Kalenyuk <[email protected]>

---------

Signed-off-by: Alex Kalenyuk <[email protected]>
  • Loading branch information
akalenyu authored May 8, 2024
1 parent b4fb6f6 commit 60b5fa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/build/docker/builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN pip3 install --upgrade j2cli operator-courier==2.1.11 && \
ln -s /opt/gradle/gradle-6.6/bin/gradle /usr/local/bin/gradle && \
rm gradle-6.6-bin.zip

ENV GIMME_GO_VERSION=1.21.5 GOPATH="/go" GO111MODULE="on"
ENV GIMME_GO_VERSION=1.22.3 GOPATH="/go" GO111MODULE="on"

RUN mkdir -p /gimme && curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | HOME=/gimme bash >> /etc/profile.d/gimme.sh

Expand All @@ -46,7 +46,7 @@ RUN \
go install github.com/mattn/goveralls@latest && \
go install golang.org/x/lint/golint@latest && \
go install github.com/rmohr/go-swagger-utils/swagger-doc@latest && \
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.13.0 && \
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0 && \
go install github.com/securego/gosec/v2/cmd/gosec@latest && \
rm -rf "${GOPATH}/pkg"

Expand Down

0 comments on commit 60b5fa4

Please sign in to comment.