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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L
This commit is contained in:
1 parent
00ad4761ab
commit
080ab8c077
1 file changed
+8
-2
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user