diff --git a/Dockerfile b/Dockerfile index c7e22db80c..0fbed160d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # check=skip=InvalidBaseImagePlatform ARG ALPINE_VERSION=3.21 -ARG GO_VERSION=1.23.8 +ARG GO_VERSION=1.24 ARG HTMLTEST_VERSION=0.17.0 ARG HUGO_VERSION=0.141.0 ARG NODE_VERSION=22 diff --git a/go.mod b/go.mod index 26a9c60f19..ebea548b95 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/docker/docs -go 1.23.8 - -toolchain go1.24.1 +go 1.24.0 require ( github.com/docker/buildx v0.23.0 // indirect diff --git a/hack/releaser/Dockerfile b/hack/releaser/Dockerfile index 11c574d173..90687cf448 100644 --- a/hack/releaser/Dockerfile +++ b/hack/releaser/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -ARG GO_VERSION=1.23 +ARG GO_VERSION=1.24 FROM scratch AS sitedir diff --git a/hack/releaser/go.mod b/hack/releaser/go.mod index d17c092280..0e1396febd 100644 --- a/hack/releaser/go.mod +++ b/hack/releaser/go.mod @@ -1,6 +1,6 @@ module github.com/docker/docs/hack/releaser -go 1.22 +go 1.24.0 require ( github.com/alecthomas/kong v1.4.0 diff --git a/hugo.yaml b/hugo.yaml index fb1c962215..86f4f43246 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -145,7 +145,7 @@ params: buildkit_version: "0.21.0" # Example runtime/library/os versions - example_go_version: "1.23" + example_go_version: "1.24" example_alpine_version: "3.21" example_node_version: "20"