Pin image versions

- docker-compose: victoria-logs v1.52.0 and docker-socket-proxy v0.5.0,
  the versions running on sandbox.
- Dockerfile: golang 1.27.1-alpine3.24 and alpine 3.24.2 (Go 1.23 and
  Alpine 3.20 no longer receive security fixes).
- README: pinned versions and how to update them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
cedricandClaude Opus 5.5 committed 2026-09-28 17:29:49 +02:00
1 parent d751fb54ae
commit 7beb791e44
3 files changed
+30 -5

No files matched your search

+4 -2
View File
@@ -1,5 +1,7 @@
# Image versions are pinned: update them on purpose (see "Updating" in the README).
# ---- Build ----
FROM golang:1.23-alpine AS build
FROM golang:1.27.1-alpine3.24 AS build
WORKDIR /src
COPY go.mod ./
COPY *.go ./
@@ -7,7 +9,7 @@ COPY web ./web
RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/logstream .
# ---- Final image (~15 MB) ----
FROM alpine:3.20
FROM alpine:3.24.2
RUN adduser -D -H -u 10001 logstream \
&& mkdir /data && chown logstream /data
COPY --from=build /out/logstream /usr/local/bin/logstream