From 3d83b808603efc54b298fc29d59439a444582129 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 14 May 2026 09:27:42 +0000 Subject: [PATCH] fix(dockerfile): bump build stage to golang:1.25-alpine The build stage was pinned to golang:1.24-alpine while go.mod has required go 1.25.0 since the upstream toolchain bump. Alpine's go defaults to GOTOOLCHAIN=local so it cannot auto-download the newer toolchain, which broke the container build with: go: ../go.mod requires go >= 1.25.0 (running go 1.24.13; GOTOOLCHAIN=local) make: *** [../.make/go.mk:102: bin/opencloud] Error 1 Bumping the build base to golang:1.25-alpine matches the project's declared minimum and lets the build run on both linux/amd64 and linux/arm64 in the GitHub Actions image workflow. Co-Authored-By: Pranjal Sharma --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 04df98f772..7769807f24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ COPY ./ /opencloud/ WORKDIR /opencloud/opencloud RUN make node-generate-prod -FROM golang:1.24-alpine AS build +FROM golang:1.25-alpine AS build RUN apk add bash make git curl gcc musl-dev libc-dev binutils-gold inotify-tools vips-dev COPY --from=generate /opencloud /opencloud