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 <akalenyu@redhat.com>

* Update controller-gen to v0.14.0

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

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

---------

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
  • Loading branch information
akalenyu committed 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.