fix(dockerfile): bump build stage to golang:1.25-alpine#3
Merged
enclave-projects merged 1 commit intoMay 14, 2026
Merged
Conversation
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 <[email protected]>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The first post-merge run of the new
Build and publish imageworkflow failed with:Root cause:
go.moddeclaresgo 1.25.0(in line with upstream), but the build stage ofDockerfileis pinned togolang:1.24-alpine. Alpine'sgolangimage defaults toGOTOOLCHAIN=local, so the toolchain does not auto-download the required version and the build hard-fails.This PR bumps the build base from
golang:1.24-alpinetogolang:1.25-alpineto match the declared minimum. Single-line change.Review & Testing Checklist for Human
Green-risk; one item:
linux/amd64andlinux/arm64after this lands onmain. The workflow runs automatically on push, so no manual step is needed.Notes
opencloud-eu/opencloud:mainhas the same out-of-sync Dockerfile, but upstream's CI runs on Woodpecker, not on this Dockerfile, so they don't see the failure. Worth a courtesy PR upstream if you'd like — happy to send one.alpine:3.23+ ffmpeg + vips), so the deploy guide inDEPLOYMENT.mdand the video-thumbnail feature both remain unchanged.Link to Devin session: https://app.devin.ai/sessions/620d4cc7fd8b46a386213618cd65b662