From b227ad8a5f8de023672ce3aa8a8e9ff7db7f9038 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 19 Aug 2026 23:35:15 +0200 Subject: [PATCH] chore: update build images to go 1.27 Snap, devcontainer and nixpkgs still lack a 1.27 release, so those stay on 1.26 for now. Assisted-by: Claude:Opus 5 --- Dockerfile | 4 ++-- Dockerfile.rootless | 4 ++-- Makefile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 57cc12dfe97..6210aeff23f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 # Build frontend on the native platform to avoid QEMU-related issues with nodejs ecosystem -FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.26-alpine3.24 AS frontend-build +FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.27-alpine3.24 AS frontend-build RUN apk --no-cache add build-base git nodejs pnpm WORKDIR /src COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./ @@ -9,7 +9,7 @@ COPY --exclude=.git/ . . RUN make frontend # Build backend for each target platform -FROM docker.io/library/golang:1.26-alpine3.24 AS build-env +FROM docker.io/library/golang:1.27-alpine3.24 AS build-env ARG GITEA_VERSION ARG TAGS="" diff --git a/Dockerfile.rootless b/Dockerfile.rootless index 4be5a4f8b35..d7ce3513946 100644 --- a/Dockerfile.rootless +++ b/Dockerfile.rootless @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 # Build frontend on the native platform to avoid QEMU-related issues with nodejs ecosystem -FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.26-alpine3.24 AS frontend-build +FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.27-alpine3.24 AS frontend-build RUN apk --no-cache add build-base git nodejs pnpm WORKDIR /src COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./ @@ -9,7 +9,7 @@ COPY --exclude=.git/ . . RUN make frontend # Build backend for each target platform -FROM docker.io/library/golang:1.26-alpine3.24 AS build-env +FROM docker.io/library/golang:1.27-alpine3.24 AS build-env ARG GITEA_VERSION ARG TAGS="" diff --git a/Makefile b/Makefile index b30195003d7..eee234d3f08 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ GO ?= go SHASUM ?= shasum -a 256 COMMA := , -XGO_VERSION := go-1.26.x +XGO_VERSION := go-1.27.x AIR_PACKAGE ?= github.com/air-verse/air@v1.67.4 # renovate: datasource=go EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-checker/v3/cmd/editorconfig-checker@v3.11.1 # renovate: datasource=go