From 463016b31774cacf83df44d0bb580621d2af4020 Mon Sep 17 00:00:00 2001 From: Jackson Stewart Date: Tue, 19 Aug 2025 05:38:12 -0600 Subject: [PATCH] Upgrade devcontainer go version to 1.24.6 (#35298) Addresses go version mismatch when using the devcontainer as a result of [this commit](https://github.com/go-gitea/gitea/commit/793815adf7a694fa04c12bd3df3262e591f127ab) (bumps Go version from 1.24.5 to 1.24.6) The current official devcontainer Go image used in this repository (`1.24-bookworm`) uses 1.24.5 and sets GOTOOLCHAIN to local. This PR overrides it to auto so that build commands automatically update to the correct version. --------- Signed-off-by: Jackson Stewart Co-authored-by: techknowlogick --- .devcontainer/devcontainer.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 95d673cd30..0bf0edc45e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,10 @@ { "name": "Gitea DevContainer", "image": "mcr.microsoft.com/devcontainers/go:1.24-bookworm", + "containerEnv": { + // override "local" from packaged version + "GOTOOLCHAIN": "auto" + }, "features": { // installs nodejs into container "ghcr.io/devcontainers/features/node:1": {