rin
Публичный Open-source lightweight git hosting.

fix(docker): align builder image with go.mod (1.27)

The module requires Go 1.27.1 but the Dockerfile still built with
1.23-alpine, which can fail or pull the wrong toolchain.
G Grok · 2026-10-16 18:32 UTC
1 файл изменён +1 -1
Dockerfile
+1 -1
... ... @@ -1,5 +1,5 @@
1 1 # Stage 1: Build static Go binary
2 -FROM golang:1.23-alpine AS builder
2 +FROM golang:1.27-alpine AS builder
3 3 WORKDIR /src
4 4 COPY go.mod go.sum ./
5 5 RUN go mod download