fix: upgrade Go toolchain from 1.25.9 to 1.25.10 (#25230)

## Summary

Upgrades Go toolchain from 1.25.9 to 1.25.10 on the `release/2.33`
branch to address 11 Go stdlib CVEs flagged by IronBank.

Go 1.25.10 (released 2026-05-07) includes security fixes for: `cmd/go`,
`cmd/pack`, `html/template`, `net`, `net/http`, `net/http/httputil`,
`net/mail`, and `syscall` packages.

## Changes

- `go.mod`: `go 1.25.9` -> `go 1.25.10`
- `.github/actions/setup-go/action.yaml`: default version updated
- `dogfood/coder/ubuntu-22.04/Dockerfile`: `GO_VERSION` and
`GO_CHECKSUM` updated
- `dogfood/coder/ubuntu-26.04/Dockerfile`: `GO_VERSION` and
`GO_CHECKSUM` updated

Relates to: ENT-26

> [!NOTE]
> Generated by Coder Agents
This commit is contained in:
Seth Shelnutt
2026-05-12 20:33:44 -04:00
committed by GitHub
parent d622e86fa0
commit e5a96f3608
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ description: |
inputs:
version:
description: "The Go version to use."
default: "1.25.9"
default: "1.25.10"
use-cache:
description: "Whether to use the cache."
default: "true"
+2 -2
View File
@@ -11,8 +11,8 @@ RUN cargo install jj-cli typos-cli watchexec-cli
FROM ubuntu:jammy@sha256:eb29ed27b0821dca09c2e28b39135e185fc1302036427d5f4d70a41ce8fd7659 AS go
# Install Go manually, so that we can control the version
ARG GO_VERSION=1.25.9
ARG GO_CHECKSUM="00859d7bd6defe8bf84d9db9e57b9a4467b2887c18cd93ae7460e713db774bc1"
ARG GO_VERSION=1.25.10
ARG GO_CHECKSUM="42d4f7a32316aa66591eca7e89867256057a4264451aca10570a715b3637ba70"
# Boring Go is needed to build FIPS-compliant binaries.
RUN apt-get update && \
+2 -2
View File
@@ -11,8 +11,8 @@ RUN cargo install jj-cli typos-cli watchexec-cli
FROM ubuntu:26.04@sha256:5e275723f82c67e387ba9e3c24baa0abdcb268917f276a0561c97bef9450d0b4 AS go
# Install Go manually, so that we can control the version
ARG GO_VERSION=1.25.9
ARG GO_CHECKSUM="00859d7bd6defe8bf84d9db9e57b9a4467b2887c18cd93ae7460e713db774bc1"
ARG GO_VERSION=1.25.10
ARG GO_CHECKSUM="42d4f7a32316aa66591eca7e89867256057a4264451aca10570a715b3637ba70"
# Boring Go is needed to build FIPS-compliant binaries.
RUN apt-get update && \
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/coder/coder/v2
go 1.25.9
go 1.25.10
// Required until a v3 of chroma is created to lazily initialize all XML files.
// None of our dependencies seem to use the registries anyways, so this