fix: image builds refresh OS packages once a day, so a cached layer cannot hide a new fix
All checks were successful
Build and deploy / Validate source (push) Successful in 7s
Build and deploy / Integration suite on a real stack (push) Successful in 4m6s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m3s
All checks were successful
Build and deploy / Validate source (push) Successful in 7s
Build and deploy / Integration suite on a real stack (push) Successful in 4m6s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m3s
Run 219 was blocked by CVE-2026-111497 in brotli-libs 1.2.0: the fix (1.2.1) was out, but the cached apk upgrade layer was reused. The build day is now part of that layer in both images. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,7 +15,10 @@ LABEL org.opencontainers.image.title="DTF Portal/API" \
|
||||
# is what the production image was doing while the local one already did this.
|
||||
# pg_dump and age are for the database backup (ops/db_backup.py). Debian 13
|
||||
# ships PostgreSQL 17, the server's major version, which pg_dump must match.
|
||||
RUN apt-get update \
|
||||
# The day (PACKAGES_DAY, set by CI) is part of this layer, so a cached build
|
||||
# still fetches the fixes published since.
|
||||
ARG PACKAGES_DAY=unset
|
||||
RUN echo "packages refreshed: $PACKAGES_DAY" && apt-get update \
|
||||
&& apt-get upgrade -y \
|
||||
&& apt-get install -y --no-install-recommends postgresql-client-17 age \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
Reference in New Issue
Block a user