From 5f0f8f3396cd9aaca07c58eb652ac21d7910f95f Mon Sep 17 00:00:00 2001 From: Elias Kohout Date: Thu, 2 Apr 2026 13:25:19 +0200 Subject: [PATCH] fix: update Dockerfile Go version to 1.25 and disable toolchain auto-download - Bump golang:1.24-alpine to golang:1.25-alpine to match go.mod requirement - Set GOTOOLCHAIN=local to prevent segfault from toolchain download in Docker This fixes the multiplatform build failure where go mod download would attempt to download Go 1.25.0 in the container and crash. Co-Authored-By: Claude Haiku 4.5 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 26c15aa..c9e6e7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM golang:1.24-alpine AS builder +FROM golang:1.25-alpine AS builder WORKDIR /app -ENV GOTOOLCHAIN=auto +ENV GOTOOLCHAIN=local COPY src/go.mod src/go.sum ./ RUN go mod download