From b731f782ac28e6f05f3d85d2ee1e207460ee93d0 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Thu, 25 Sep 2025 11:00:25 -0700 Subject: [PATCH] unix/linux: switch to ubuntu 25.04, Go 1.25.1 Ubuntu 24.10 is not supported since July 2025 (and some of its apt repos are apparently removed), and so mkall.sh no longer works (as of today). Fix this by switching to (currently supported) Ubuntu 25.04. NOTE that we can't switch to - Ubuntu 24.04 LTS release (see CL 618075); - Ubuntu 25.10 as it lacks mips support; - Debian Stable (13) as it also lacks mips support. Also, bump Go to 1.25.1. No changes in generated content after running GOOS=linux GOARCH=amd64 ./mkall.sh Change-Id: I58a4856cda93a85af51f4a519c6e4e25f31a39b4 Reviewed-on: https://go-review.googlesource.com/c/sys/+/706915 Reviewed-by: Sean Liao Reviewed-by: Michael Pratt Reviewed-by: Carlos Amedee Reviewed-by: Tobias Klauser LUCI-TryBot-Result: Go LUCI Auto-Submit: Michael Pratt --- unix/linux/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unix/linux/Dockerfile b/unix/linux/Dockerfile index 0719a458..5cad3ffe 100644 --- a/unix/linux/Dockerfile +++ b/unix/linux/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:24.10 +FROM ubuntu:25.04 # Disable interactive prompts on package installation ENV DEBIAN_FRONTEND=noninteractive @@ -21,9 +21,9 @@ RUN git clone --branch v6.16 --depth 1 https://kernel.googlesource.com/pub/scm/l RUN git clone --branch release/2.41/master --depth 1 https://sourceware.org/git/glibc.git # Get Go -ENV GOLANG_VERSION=1.24.5 +ENV GOLANG_VERSION=1.25.1 ENV GOLANG_DOWNLOAD_URL=https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz -ENV GOLANG_DOWNLOAD_SHA256=10ad9e86233e74c0f6590fe5426895de6bf388964210eac34a6d83f38918ecdc +ENV GOLANG_DOWNLOAD_SHA256=7716a0d940a0f6ae8e1f3b3f4f36299dc53e31b16840dbd171254312c41ca12e RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \ && echo "$GOLANG_DOWNLOAD_SHA256 golang.tar.gz" | sha256sum -c - \