Skip to content

Commit

Permalink
Go: Bump to v1.22.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gacko committed Aug 5, 2024
1 parent 2e3c2c1 commit fe335ac
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 17 deletions.
2 changes: 1 addition & 1 deletion GOLANG_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.22.4
1.22.5
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module k8s.io/ingress-nginx

go 1.22.0

toolchain go1.22.4
go 1.22.5

require (
dario.cat/mergo v1.0.0
Expand Down
2 changes: 1 addition & 1 deletion go.work
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
go 1.22.0
go 1.22.5

use (
.
Expand Down
2 changes: 1 addition & 1 deletion images/custom-error-pages/rootfs/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module k8s.io/ingress-nginx/custom-error-pages

go 1.21
go 1.22.5

require github.com/prometheus/client_golang v1.11.1

Expand Down
4 changes: 2 additions & 2 deletions images/ext-auth-example-authsvc/rootfs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG GOLANG_VERSION

FROM golang:${GOLANG_VERSION}-alpine3.18 as builder
FROM golang:${GOLANG_VERSION}-alpine3.20 as builder
RUN mkdir /authsvc
WORKDIR /authsvc
COPY . ./
Expand All @@ -9,4 +9,4 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o authsvc authsvc.go
FROM gcr.io/distroless/base-debian11
COPY --from=builder /authsvc/authsvc /
EXPOSE 8080
ENTRYPOINT ["/authsvc"]
ENTRYPOINT ["/authsvc"]
2 changes: 1 addition & 1 deletion images/ext-auth-example-authsvc/rootfs/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module example.com/authsvc

go 1.21
go 1.22.5

require k8s.io/apimachinery v0.23.1

Expand Down
4 changes: 2 additions & 2 deletions images/fastcgi-helloserver/rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
ARG GOLANG_VERSION

FROM golang:${GOLANG_VERSION}-alpine3.18 as builder
FROM golang:${GOLANG_VERSION}-alpine3.20 as builder

WORKDIR /go/src/k8s.io/ingress-nginx/images/fastcgi

Expand All @@ -30,4 +30,4 @@ FROM gcr.io/distroless/static:nonroot
COPY --from=builder /go/src/k8s.io/ingress-nginx/images/fastcgi/fastcgi-helloserver /
USER nonroot:nonroot

CMD ["/fastcgi-helloserver"]
CMD ["/fastcgi-helloserver"]
4 changes: 2 additions & 2 deletions images/go-grpc-greeter-server/rootfs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG GOLANG_VERSION

FROM golang:${GOLANG_VERSION}-alpine3.18 as build
FROM golang:${GOLANG_VERSION}-alpine3.20 as build

WORKDIR /go/src/greeter-server

Expand All @@ -15,4 +15,4 @@ COPY --from=build /greeter-server /

EXPOSE 50051

CMD ["/greeter-server"]
CMD ["/greeter-server"]
2 changes: 1 addition & 1 deletion images/kube-webhook-certgen/rootfs/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/jet/kube-webhook-certgen

go 1.21
go 1.22.5

require (
github.com/onrik/logrus v0.11.0
Expand Down
2 changes: 1 addition & 1 deletion images/opentelemetry/rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ FROM base as nginx
ARG NGINX_VERSION=1.25.3
RUN bash /opt/third_party/build.sh -n ${NGINX_VERSION}

FROM golang:1.21.6-bullseye as build-init
FROM golang:1.22.5-bullseye as build-init

WORKDIR /go/src/app
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion images/opentelemetry/rootfs/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module init-otel

go 1.21
go 1.22.5
2 changes: 1 addition & 1 deletion magefiles/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module k8s.io/ingress-nginx/magefiles

go 1.21
go 1.22.5

require (
github.com/blang/semver/v4 v4.0.0
Expand Down

0 comments on commit fe335ac

Please sign in to comment.