chore(deps): update container base images

Refresh the base image digests and move each tag to a newer release
that builds: node 24 for the dashboard console and its UI test job,
nginx-unprivileged 1.31, the dockerfile 1.28 frontend and alpine 3.24
for the cilium patch stage.

The kubevirt CSI driver stays on AlmaLinux 9: AlmaLinux 10 builds its
amd64 userland for x86-64-v3, and on a tenant vCPU without it every
mkfs, blkid and mount the node service runs would fail. shadowbox stays
on node 18 because outline-server declares engines node 18.x. The e2e
sandbox stays on Ubuntu 24.04: 26.04 ships uutils coreutils, whose
`date` costs about 4x per call, and the test harness forks it per
traced line, which adds about ten minutes to the install phase. Bases
whose version is the upstream component itself, or that upstream's
build pins, are not touched.

Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
This commit is contained in:
Aleksei Sviridkin committed 2026-11-16 01:07:39 +03:00
1 parent ee0071dd1b
commit 6edd4a0d72
15 files changed
+20 -20

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 22
node-version: 24
cache: pnpm
cache-dependency-path: packages/system/dashboard/images/console/pnpm-lock.yaml
@@ -15,7 +15,7 @@ RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build \
-ldflags "-X kubevirt.io/csi-driver/pkg/service.VendorVersion=0.2.0" \
-o kubevirt-csi-driver .
FROM docker.io/library/almalinux:9@sha256:3a3fa7f043b142bc8008c8b308d39b47d2c84008addcd52f9f9a7a82d2a90474
FROM docker.io/library/almalinux:9@sha256:9819dc675b67b595c2b59e42be7763fca1a8bb217fa5944e04daa22e9a64db16
RUN dnf install -y e2fsprogs xfsprogs nfs-utils && dnf clean all
@@ -5,7 +5,7 @@
ARG VERSION=v1.12.3
ARG COMMIT=067d0d47aedac94a3888a127fa6c65f2f53b9987
FROM --platform=$BUILDPLATFORM node:18.18.0-alpine3.18@sha256:a315556d82ef54561e54fca7d8ee333382de183d4e56841dcefcd05b55310f46 AS source
FROM --platform=$BUILDPLATFORM node:18.20.3-alpine3.18@sha256:8863523fed890ce945343aebf959daa56e6b089de1851074f4fe22fe86c04399 AS source
ARG VERSION
ARG COMMIT
RUN apk add --no-cache git
@@ -34,7 +34,7 @@ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=0 go build -trimpath \
-o /out/opt/outline-server/bin/ github.com/Jigsaw-Code/outline-ss-server/cmd/outline-ss-server
# Version and checksums are upstream's, from third_party/Taskfile.yml.
FROM --platform=$BUILDPLATFORM node:18.18.0-alpine3.18@sha256:a315556d82ef54561e54fca7d8ee333382de183d4e56841dcefcd05b55310f46 AS prometheus
FROM --platform=$BUILDPLATFORM node:18.20.3-alpine3.18@sha256:8863523fed890ce945343aebf959daa56e6b089de1851074f4fe22fe86c04399 AS prometheus
ARG TARGETARCH
ARG PROMETHEUS_VERSION=2.37.1
RUN case "${TARGETARCH}" in \
@@ -48,7 +48,7 @@ RUN case "${TARGETARCH}" in \
&& mkdir -p /out/opt/outline-server/bin \
&& tar -xzf /tmp/p.tgz -C /out/opt/outline-server/bin --strip-components=1 ${name}/prometheus
FROM node:18.18.0-alpine3.18@sha256:a315556d82ef54561e54fca7d8ee333382de183d4e56841dcefcd05b55310f46
FROM node:18.20.3-alpine3.18@sha256:8863523fed890ce945343aebf959daa56e6b089de1851074f4fe22fe86c04399
ARG VERSION
LABEL shadowbox.github.release=${VERSION}
# The user management service doesn't quit with SIGTERM.
@@ -8,7 +8,7 @@
# an RDB written by the redis 8.4 / valkey 8 apps — "Can't handle RDB format
# version 12"). Restore fidelity depends on the loader being at least as new as
# the source engine.
FROM redis:8-alpine@sha256:ba6e394f6acc2a695ef1b6944f161b9ca813711739be68319fa0db3470673f1d
FROM redis:8-alpine@sha256:3811787313eba226a2ef38658c6ccb91cd5e110edc89c37767de373120a0e5a0
RUN apk add --no-cache curl ca-certificates
@@ -6,7 +6,7 @@ FROM quay.io/cilium/cilium:${VERSION} AS upstream
# throwaway alpine stage and copy the results back over the upstream image.
# The agent compiles BPF at startup from /var/lib/cilium/bpf, so replacing
# the source files is sufficient.
FROM docker.io/library/alpine:3.22@sha256:5291449c3df73caf6ed85e649dec1b9e818b39a5d8c871e97afc13e9cd5e8fa8 AS patcher
FROM docker.io/library/alpine:3.24@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6 AS patcher
RUN apk add --no-cache patch
WORKDIR /work
COPY --from=upstream /var/lib/cilium/bpf/bpf_host.c ./bpf_host.c
@@ -1,4 +1,4 @@
ARG NODE_VERSION=22-alpine@sha256:0a7108bf6c7bf5de370ffb1a3ed6be93d405b43ff159f681a8d18c0e2bc2e402
ARG NODE_VERSION=24-alpine@sha256:ebfe2f90462722a7a4de65e91990e97fe0d401c70e0e762c5b53302f905ec1c1
# Stage 1: Install dependencies and build
FROM --platform=$BUILDPLATFORM node:${NODE_VERSION} AS builder
@@ -28,7 +28,7 @@ COPY tsconfig.base.json ./
RUN pnpm --filter @cozystack/console build
# Stage 2: Serve with nginx
FROM nginxinc/nginx-unprivileged:1.29-alpine@sha256:0c79d56aee561a1d81c63f00eee5fb5fe29279560cdc55e91425133104c7fbe6
FROM nginxinc/nginx-unprivileged:1.31-alpine@sha256:b9241c6e7b8e9a862f129d8d4199ab64b10390949a78bdd5603379b32c844083
COPY --from=builder /src/apps/console/dist /usr/share/nginx/html
@@ -26,7 +26,7 @@ RUN npm install js-yaml@4.1.0 \
&& cp /harbor/LICENSE dist/
RUN cd app-swagger-ui && npm install --unsafe-perm && npm run build
FROM goharbor/photon:5.0@sha256:0e06d58615400bf2a3fe7da1175b889e2827969e3ac42e1c4010010770e6a712
FROM goharbor/photon:5.0@sha256:f7b2f6cd0ecc44a7e3123e4fff700b64d864b147af52c77a35b78d144bd30fa3
RUN tdnf install -y nginx shadow >> /dev/null \
&& tdnf clean all \
&& ln -sf /dev/stdout /var/log/nginx/access.log \
@@ -137,7 +137,7 @@ RUN case "${TARGETARCH}" in \
&& echo "${sum} /tmp/trivy.tgz" | sha256sum -c - \
&& tar -xzf /tmp/trivy.tgz -C /out trivy
FROM goharbor/photon:5.0@sha256:0e06d58615400bf2a3fe7da1175b889e2827969e3ac42e1c4010010770e6a712 AS harbor-base
FROM goharbor/photon:5.0@sha256:f7b2f6cd0ecc44a7e3123e4fff700b64d864b147af52c77a35b78d144bd30fa3 AS harbor-base
RUN tdnf install -y tzdata shadow >> /dev/null \
&& tdnf clean all \
&& groupadd -r -g 10000 harbor && useradd --no-log-init -r -m -g 10000 -u 10000 harbor \
@@ -185,7 +185,7 @@ USER harbor
VOLUME ["/var/lib/registry"]
ENTRYPOINT ["/home/harbor/start.sh"]
FROM goharbor/photon:5.0@sha256:0e06d58615400bf2a3fe7da1175b889e2827969e3ac42e1c4010010770e6a712 AS trivy-adapter-photon
FROM goharbor/photon:5.0@sha256:f7b2f6cd0ecc44a7e3123e4fff700b64d864b147af52c77a35b78d144bd30fa3 AS trivy-adapter-photon
ARG TRIVY_VERSION
RUN tdnf install -y rpm shadow >> /dev/null \
&& tdnf clean all \
@@ -198,7 +198,7 @@ ENV TRIVY_VERSION=${TRIVY_VERSION}
USER scanner
ENTRYPOINT ["/home/scanner/entrypoint.sh"]
FROM goharbor/photon:5.0@sha256:0e06d58615400bf2a3fe7da1175b889e2827969e3ac42e1c4010010770e6a712 AS nginx-photon
FROM goharbor/photon:5.0@sha256:f7b2f6cd0ecc44a7e3123e4fff700b64d864b147af52c77a35b78d144bd30fa3 AS nginx-photon
RUN tdnf install -y nginx shadow >> /dev/null \
&& tdnf clean all \
&& groupmod -g 10000 nginx && usermod -g 10000 -u 10000 -d /home/nginx -s /bin/bash nginx \
@@ -1,4 +1,4 @@
# syntax=docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e2230a333fdbcc
# syntax=docker/dockerfile:1.28@sha256:bb22d9815c728170f72750f4e5b0d672e06176142e1d602c7e66c050100b7e5b
FROM alpine@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6 AS source
ARG COMMIT_REF=facbc36
@@ -2,7 +2,7 @@
# Serves the pre-built LINSTOR GUI tarball published by LINBIT from a hardened
# nginx-unprivileged image. nginx.conf is supplied by the chart via ConfigMap,
# so the upstream docker-entrypoint.sh / nginx.conf.template is not used.
FROM nginxinc/nginx-unprivileged:1.29-alpine@sha256:0c79d56aee561a1d81c63f00eee5fb5fe29279560cdc55e91425133104c7fbe6
FROM nginxinc/nginx-unprivileged:1.31-alpine@sha256:b9241c6e7b8e9a862f129d8d4199ab64b10390949a78bdd5603379b32c844083
ARG LINSTOR_GUI_VERSION
USER root
@@ -35,7 +35,7 @@ RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 \
RUN curl -fsSL https://github.com/LINBIT/linstor-wait-until/releases/download/$LINSTOR_WAIT_UNTIL_VERSION/linstor-wait-until-$LINSTOR_WAIT_UNTIL_VERSION-$TARGETOS-$TARGETARCH.tar.gz | tar xvzC /
FROM debian:trixie-slim@sha256:a99cfc517144bc59b1978475ec53b46ecabec7e43635402ee5b77cc54cd1b20a
FROM debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f
RUN apt-get update && apt-get install -y --no-install-recommends \
xfsprogs e2fsprogs nfs-common \
@@ -1,4 +1,4 @@
# syntax=docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e2230a333fdbcc
# syntax=docker/dockerfile:1.28@sha256:bb22d9815c728170f72750f4e5b0d672e06176142e1d602c7e66c050100b7e5b
ARG VERSION
@@ -71,7 +71,7 @@ RUN set -eux; \
tar -xz -C /cni-plugins-licenses -f /tmp/cni-plugins.tgz ./LICENSE; \
rm -f /tmp/cni-plugins.tgz
FROM debian:stable-slim@sha256:5bc3287b25407c965a30f38e32603dc253a3869e1b12a21ac09bfc27fd8b13ce
FROM debian:stable-slim@sha256:eb593cf2c358cacef45ca0a424bbc7d30cfa3466265fc2662b9466a0ca6ba1c5
LABEL org.opencontainers.image.source=https://github.com/cozystack/cozystack
COPY --from=build /usr/src/multus-cni/bin /usr/src/multus-cni/bin
COPY --from=build /usr/src/multus-cni/LICENSE /usr/src/multus-cni/LICENSE
@@ -1,4 +1,4 @@
# syntax=docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e2230a333fdbcc
# syntax=docker/dockerfile:1.28@sha256:bb22d9815c728170f72750f4e5b0d672e06176142e1d602c7e66c050100b7e5b
FROM alpine@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6 AS source
ARG COMMIT_REF=v0.2.2
@@ -1,4 +1,4 @@
# syntax=docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e2230a333fdbcc
# syntax=docker/dockerfile:1.28@sha256:bb22d9815c728170f72750f4e5b0d672e06176142e1d602c7e66c050100b7e5b
#
# Pure mirror of the upstream Vector image, re-hosted in the cozystack
# registry and pinned by digest via `make image` (same pattern as metallb).