Skip to content

Align release Dockerfiles with Go 1.25 for backend builds.#6889

Merged
WithoutPants merged 1 commit intostashapp:developfrom
Stash-KennyG:bugfix-6888-go-docker-build
May 5, 2026
Merged

Align release Dockerfiles with Go 1.25 for backend builds.#6889
WithoutPants merged 1 commit intostashapp:developfrom
Stash-KennyG:bugfix-6888-go-docker-build

Conversation

@Stash-KennyG
Copy link
Copy Markdown
Contributor

The x86_64 and CUDA backend stages still used golang:1.24.3 while go.mod requires Go 1.25, which broke make docker-build under GOTOOLCHAIN=local. Bump both images to golang:1.25.9 to match docker/compiler/Dockerfile and PR #6869.

Verified with: make docker-build

Fixes #6888

The x86_64 and CUDA backend stages still used golang:1.24.3 while go.mod requires Go 1.25, which broke make docker-build under GOTOOLCHAIN=local. Bump both images to golang:1.25.9 to match docker/compiler/Dockerfile and PR stashapp#6869.

Verified with: make docker-build

Fixes stashapp#6887

Co-authored-by: Cursor <cursoragent@cursor.com>
@Stash-KennyG
Copy link
Copy Markdown
Contributor Author

I hit an issue earlier trying to build from source to test a different bugfix patch. In chasing this down I found that a merge late last week made it so the docker wouldn't build with our new go version bump. This is just catching up that bump.

Very straight forward fix - 2 image replacements in the dockerfile.
Works on my machine
No issues in building the CI.
I asked Cursor to automate putting it up - but as it messed up the bug report - I'm babysitting it until it completes. Find me on Discord with any questions.

@feederbox826
Copy link
Copy Markdown
Member

CUDA also probably needs a bump to node 24

@WithoutPants WithoutPants added the chore Tedious admin work or code refactoring label May 5, 2026
@WithoutPants WithoutPants added this to the Version 0.32.0 milestone May 5, 2026
@WithoutPants WithoutPants merged commit 3afe292 into stashapp:develop May 5, 2026
11 checks passed
Stash-KennyG added a commit to Stash-KennyG/stash that referenced this pull request May 5, 2026
…6889)

The x86_64 and CUDA backend stages still used golang:1.24.3 while go.mod requires Go 1.25, which broke make docker-build under GOTOOLCHAIN=local. Bump both images to golang:1.25.9 to match docker/compiler/Dockerfile and PR stashapp#6869.

Verified with: make docker-build

Fixes stashapp#6887

Co-authored-by: KennyG <kennyg@kennyg.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
(cherry picked from commit 3afe292)
Stash-KennyG pushed a commit to Stash-KennyG/stash that referenced this pull request May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Tedious admin work or code refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docker-build fails: backend Dockerfile pins Go 1.24.3 but go.mod requires >= 1.25

3 participants