Pin Go builder image to 1.24.1 to match go.mod

golang:1.24-alpine may resolve to 1.24.0 which triggers Go's toolchain
auto-download when go.mod specifies go 1.24.1, failing in restricted
Docker build environments.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Daniel Pupius
2026-03-16 03:23:38 +00:00
parent c54e4a6a21
commit 9d6e74d940
+1 -1
View File
@@ -37,7 +37,7 @@ RUN pnpm build
###############################################################################
# Stage 2: Build the Go server
###############################################################################
FROM golang:1.24-alpine AS go-builder
FROM golang:1.24.1-alpine AS go-builder
WORKDIR /app