Skip to content

Fix Go version in backend Dockerfile to 1.25#2

Open
railway-app[bot] wants to merge 1 commit into
mainfrom
railway/code-change-ac5rFA
Open

Fix Go version in backend Dockerfile to 1.25#2
railway-app[bot] wants to merge 1 commit into
mainfrom
railway/code-change-ac5rFA

Conversation

@railway-app

@railway-app railway-app Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Problem

The Railway build fails with go: go.mod requires go >= 1.25.0 (running go 1.22.12; GOTOOLCHAIN=local) because the Dockerfile's builder stage was pinned to golang:1.22-alpine, which is incompatible with the minimum Go version declared in go.mod.

Solution

Updated the builder base image from golang:1.22-alpine to golang:1.25-alpine and bumped the final stage from alpine:3.19 to alpine:3.20 to keep the runtime image current. All other build steps are unchanged.

Changes

  • Modified services/backend-go/Dockerfile

Generated by Railway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants