Skip to content

Commit

Permalink
upgrade golang to latest patch of go 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
randmonkey committed Apr 23, 2024
1 parent e101c1d commit 3d30654
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 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.6 as builder
FROM golang:1.21 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.6 as builder
FROM golang:1.21 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.6 AS debug
FROM golang:1.21 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/v3

go 1.21.6
go 1.21.9

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

go 1.21

toolchain go1.21.0

require (
github.com/elastic/crd-ref-docs v0.0.10
github.com/go-delve/delve v1.22.0
Expand Down

0 comments on commit 3d30654

Please sign in to comment.