Skip to content

Commit

Permalink
bump golang to 1.21.9 (#5916)
Browse files Browse the repository at this point in the history
  • Loading branch information
randmonkey committed Apr 26, 2024
1 parent d5f7a16 commit 3c034bb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Standard binary
# Build the manager binary
FROM golang:1.21.1 as builder
FROM golang:1.21.9 as builder

ARG TARGETPLATFORM
ARG TARGETOS
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.debug
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build a manager binary with debug symbols and download Delve
FROM golang:1.21.1 as builder
FROM golang:1.21.9 as builder

ARG TARGETPLATFORM
ARG TARGETOS
Expand Down Expand Up @@ -32,7 +32,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH="${TARGETARCH}" GO111MODULE=on make _build.d

### Debug
# Create an image that runs a debug build with Delve installed
FROM golang:1.21.1 AS debug
FROM golang:1.21.9 AS debug
RUN go install github.com/go-delve/delve/cmd/dlv@latest
# We want all source so Delve file location operations work
COPY --from=builder /workspace/bin/manager-debug /
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kong/kubernetes-ingress-controller/v2

go 1.21
go 1.21.9

// TODO: this is disabled by FOSSA action doesn't support go 1.21's toolchain clause:
//
Expand Down
4 changes: 1 addition & 3 deletions third_party/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/kong/kubernetes-ingress-controller/tools

go 1.21

toolchain go1.21.0
go 1.21.9

require (
github.com/GoogleContainerTools/skaffold/v2 v2.7.1
Expand Down

0 comments on commit 3c034bb

Please sign in to comment.