fix: update builder image to golang:1.25-alpine
All checks were successful
CI / lint (push) Successful in 19s
CI / test (push) Successful in 19s
CI / build (push) Successful in 18s
CI / docker (push) Successful in 1m12s

go.mod requires Go 1.25+, but Dockerfile was still using golang:1.22-alpine
as the builder image. This caused CI build failure:
  "go.mod requires go >= 1.25.0 (running go 1.22.12)"
This commit is contained in:
2026-06-01 17:20:51 +03:00
parent 51e45d9327
commit 3e4b97e262

View File

@@ -1,7 +1,7 @@
# Multi-stage build for MrixsCraft backend.
# Final image: ~20 MB, non-root, no toolchain.
FROM golang:1.22-alpine AS builder
FROM golang:1.25-alpine AS builder
WORKDIR /build
COPY go.mod go.sum ./
RUN go mod download