diff --git a/MODULE.bazel b/MODULE.bazel index e512c524e8..86cd04a270 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -128,7 +128,7 @@ go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk") go_sdk.download( patch_strip = 1, patches = ["//tools:go_types_memoize.patch"], - version = "1.24.1", + version = "1.25.5", ) go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps") diff --git a/go.mod b/go.mod index 05ea1fb9d8..a747b8c614 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module gvisor.dev/gvisor -go 1.24.1 +go 1.25.5 require ( github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c diff --git a/images/default/Dockerfile b/images/default/Dockerfile index 9fd59a2b36..9f938ee8d6 100644 --- a/images/default/Dockerfile +++ b/images/default/Dockerfile @@ -41,7 +41,7 @@ RUN curl https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud # FIXME: rules_go is configured in MODULE.bazel to download its own Go SDK and # it should not use other go binaries. -ENV GO_VERSION 1.25.1 +ENV GO_VERSION 1.25.5 ENV GO_DOWNLOAD_BASE_URL https://dl.google.com/go/ RUN ARCH="$(uname -m)" && \ case "$ARCH" in \ diff --git a/images/gpu/cuda-tests-12-8/install_go.sh b/images/gpu/cuda-tests-12-8/install_go.sh index 824ca69249..dcde010da9 100644 --- a/images/gpu/cuda-tests-12-8/install_go.sh +++ b/images/gpu/cuda-tests-12-8/install_go.sh @@ -20,6 +20,6 @@ if [[ "$(uname -m)" == "aarch64" ]]; then ARCH="arm64" fi -wget "https://go.dev/dl/go1.24.1.linux-${ARCH}.tar.gz" && \ - tar -C /usr/local -xzf "go1.24.1.linux-${ARCH}.tar.gz" && \ +wget "https://go.dev/dl/go1.25.5.linux-${ARCH}.tar.gz" && \ + tar -C /usr/local -xzf "go1.25.5.linux-${ARCH}.tar.gz" && \ ln -s /usr/local/go/bin/go /usr/local/bin/go diff --git a/tools/build_cover.sh b/tools/build_cover.sh index cb9e49e0f1..b595254792 100755 --- a/tools/build_cover.sh +++ b/tools/build_cover.sh @@ -31,7 +31,7 @@ export GOMODCACHE GOCACHE ( # The gVisor code coverate implementation uses internal packages. More details # can be found here: https://github.com/golang/go/issues/76098. - curl -L https://go.dev/dl/go1.25.3.src.tar.gz | tar -xz + curl -L https://go.dev/dl/go1.25.5.src.tar.gz | tar -xz cd go patch -p1 < "$golang_patch" cd src