From 439ffede186ca8ca8670499b37966885ca2546d0 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 15 Oct 2026 19:59:05 +0200 Subject: [PATCH] Build the image with Go 1.26 The Prometheus client and the golang.org/x updates raised go.mod to Go 1.26, so the Docker build with golang:1.25-alpine failed in go mod download. Co-Authored-By: Claude Opus 5.5 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 713391e..3b67b0e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ARG FRONTEND_IMAGE=gitea.sanplex.xyz/sansan/musicfrontend:latest # Stage 1: Build the backend on the build machine and cross-compile for the target platform, # so multi-platform builds need no emulation. -FROM --platform=$BUILDPLATFORM golang:1.25-alpine AS build +FROM --platform=$BUILDPLATFORM golang:1.26-alpine AS build ARG TARGETOS TARGETARCH WORKDIR /app COPY go.mod go.sum ./