Skip to content

Commit 4bd07e2

Browse files
committed
Update Go version to 1.23
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alex@openfaas.com>
1 parent 349c58e commit 4bd07e2

39 files changed

+344
-282
lines changed

gateway/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM --platform=${BUILDPLATFORM:-linux/amd64} ghcr.io/openfaas/license-check:0.4.1 AS license-check
22

3-
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.22 AS build
3+
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.23 AS build
44

55
ENV GO111MODULE=on
66
ENV CGO_ENABLED=0
@@ -44,7 +44,7 @@ RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build --
4444
-X github.com/openfaas/faas/gateway/types.Arch=${TARGETARCH}" \
4545
-o gateway .
4646

47-
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.20.1 AS ship
47+
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.21.0 AS ship
4848

4949
LABEL org.label-schema.license="OpenFaaS CE EULA - non-commercial" \
5050
org.label-schema.vcs-url="https://github.com/openfaas/faas" \

gateway/go.mod

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/openfaas/faas/gateway
22

3-
go 1.22
3+
go 1.23
44

55
require (
66
github.com/docker/distribution v2.8.3+incompatible
@@ -10,7 +10,7 @@ require (
1010
github.com/prometheus/client_golang v1.20.5
1111
github.com/prometheus/client_model v0.6.1
1212
go.uber.org/goleak v1.3.0
13-
golang.org/x/sync v0.9.0
13+
golang.org/x/sync v0.10.0
1414
)
1515

1616
// replace github.com/openfaas/faas-provider => ../../faas-provider
@@ -21,20 +21,20 @@ require (
2121
github.com/gogo/protobuf v1.3.2 // indirect
2222
github.com/hashicorp/go-hclog v1.6.3 // indirect
2323
github.com/hashicorp/go-msgpack/v2 v2.1.2 // indirect
24-
github.com/hashicorp/raft v1.7.0 // indirect
24+
github.com/hashicorp/raft v1.7.1 // indirect
2525
github.com/klauspost/compress v1.17.11 // indirect
2626
github.com/minio/highwayhash v1.0.3 // indirect
2727
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
28-
github.com/nats-io/jwt/v2 v2.5.8 // indirect
28+
github.com/nats-io/jwt/v2 v2.7.2 // indirect
2929
github.com/nats-io/nats.go v1.37.0 // indirect
30-
github.com/nats-io/nkeys v0.4.7 // indirect
30+
github.com/nats-io/nkeys v0.4.8 // indirect
3131
github.com/nats-io/nuid v1.0.1 // indirect
3232
github.com/nats-io/stan.go v0.10.4 // indirect
33-
github.com/prometheus/common v0.60.1 // indirect
33+
github.com/prometheus/common v0.61.0 // indirect
3434
github.com/prometheus/procfs v0.15.1 // indirect
35-
go.etcd.io/bbolt v1.3.10 // indirect
36-
golang.org/x/crypto v0.29.0 // indirect
37-
golang.org/x/sys v0.27.0 // indirect
38-
golang.org/x/time v0.5.0 // indirect
35+
go.etcd.io/bbolt v1.3.11 // indirect
36+
golang.org/x/crypto v0.30.0 // indirect
37+
golang.org/x/sys v0.28.0 // indirect
38+
golang.org/x/time v0.8.0 // indirect
3939
google.golang.org/protobuf v1.35.2 // indirect
4040
)

gateway/go.sum

Lines changed: 14 additions & 117 deletions
Large diffs are not rendered by default.

gateway/vendor/github.com/nats-io/nkeys/keypair.go

Lines changed: 5 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gateway/vendor/github.com/nats-io/nkeys/public.go

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gateway/vendor/github.com/nats-io/nkeys/xkeys.go

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gateway/vendor/github.com/prometheus/common/expfmt/encode.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gateway/vendor/github.com/prometheus/common/expfmt/expfmt.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gateway/vendor/github.com/prometheus/common/expfmt/openmetrics_create.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gateway/vendor/github.com/prometheus/common/expfmt/text_parse.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gateway/vendor/github.com/prometheus/common/model/alert.go

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gateway/vendor/github.com/prometheus/common/model/metric.go

Lines changed: 12 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gateway/vendor/github.com/prometheus/common/model/silence.go

Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gateway/vendor/github.com/prometheus/common/model/value_float.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)