build(docker): track the moving golang and alpine majors

golang:1.25-alpine and alpine:3.22 were exact-minor pins generating
the churn the moving-major house rule exists to avoid; node:24-alpine
and the distroless base already followed it. dependabot.yml needs no
change: it still covers the same four ecosystems, and will simply have
less to propose now that these two also float.
This commit is contained in:
tiennm99 committed 2026-09-21 16:17:03 +07:00
1 parent 5c6421a011
commit 2fece2fcea
1 file changed
+2 -2
+2 -2
View File
@@ -16,7 +16,7 @@ COPY web/ ./
RUN npm run build
# --- the binary -------------------------------------------------------------
FROM golang:1.25-alpine AS build
FROM golang:1-alpine AS build
# What GET /version answers and the startup log line carries. .dockerignore
# deliberately keeps .git out of the build context — a stale copy should
@@ -35,7 +35,7 @@ RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w -X main.version=${VERSION}"
RUN CGO_ENABLED=0 go build -trimpath -o /out/build-dictionary ./cmd/build-dictionary
# --- the dictionary ---------------------------------------------------------
FROM alpine:3.22 AS dict
FROM alpine:3 AS dict
# Fetched fresh, not pinned: Wikimedia regenerates the dump monthly and
# repoints `latest/`. The derived dictionary is the one thing in this image