From 080ab8c0770956deb80f1daa3cfe04a314788a8e Mon Sep 17 00:00:00 2001 From: Ziad Arafat Date: Thu, 5 Nov 2026 12:21:07 -0700 Subject: [PATCH] Pin ImageMagick and DejaVu in the Red image ImageMagick is pinned to 6.9.11.60 with a trailing * so Debian security rebuilds still install. doge_cogs' mise run test-container tests against this image. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L --- containers/red/Containerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/containers/red/Containerfile b/containers/red/Containerfile index 867e484..9fa4c3b 100644 --- a/containers/red/Containerfile +++ b/containers/red/Containerfile @@ -3,10 +3,16 @@ FROM ghcr.io/astral-sh/uv:python3.11-bookworm-slim # Downloader clones cog repos with git; some cog requirements build C extensions. # doge_alignment draws charts with ImageMagick (Wand needs libmagickwand) and -# DejaVu Sans. +# DejaVu Sans. ImageMagick and the font are pinned to an upstream version; the +# trailing * still takes Debian's security rebuilds (deb12uN), which an exact +# pin would break on as soon as the mirrors drop the old build. Bump these on +# purpose, then run doge_cogs' `mise run test-container`. +ARG IMAGEMAGICK_VERSION="8:6.9.11.60+dfsg-1.6+deb12u*" +ARG DEJAVU_VERSION="2.37-6" RUN apt-get update \ && apt-get install -y --no-install-recommends git build-essential \ - libmagickwand-6.q16-6 fonts-dejavu-core \ + "libmagickwand-6.q16-6=${IMAGEMAGICK_VERSION}" \ + "fonts-dejavu-core=${DEJAVU_VERSION}" \ && rm -rf /var/lib/apt/lists/* ENV UV_COMPILE_BYTECODE=1 \