From 1c79a2a82eb138b80594957f916476de09ed3409 Mon Sep 17 00:00:00 2001 From: Claude Code Date: Wed, 16 Sep 2026 22:51:58 +0000 Subject: [PATCH] Upgrade the base image from Debian 12 Bookworm to Debian 13 Trixie The MiKTeX apt repository now carries a 'trixie' distribution, at the same MiKTeX version as 'bookworm' (26.5). 'Dockerfile' hardcoded 'bookworm' in the apt sources line while ignoring its own 'MIKTEX_SRC_REPO' argument, which the pipeline has always passed. Reading the argument ties the MiKTeX distribution to 'base_image_os_codename', so the next upgrade is a single variable again. Co-Authored-By: Patrick Lehmann --- .github/workflows/Pipeline.yml | 4 ++-- Dockerfile | 2 +- README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Pipeline.yml b/.github/workflows/Pipeline.yml index 7522ec6..69bfd97 100644 --- a/.github/workflows/Pipeline.yml +++ b/.github/workflows/Pipeline.yml @@ -50,8 +50,8 @@ jobs: id: variables run: | base_image_name="python" - base_image_os_version="12" - base_image_os_codename="Bookworm" + base_image_os_version="13" + base_image_os_codename="Trixie" base_image_os_size="-slim" base_image_py_version="3.14" diff --git a/Dockerfile b/Dockerfile index 448c2af..952ada8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,7 @@ RUN ln -sf /bin/bash /bin/sh # Install MikTeX RUN curl -fsSL https://miktex.org/download/key | gpg --dearmor -o /usr/share/keyrings/miktex.gpg -RUN echo "deb [signed-by=/usr/share/keyrings/miktex.gpg] https://miktex.org/download/debian bookworm universe" | tee /etc/apt/sources.list.d/miktex.list +RUN echo "deb [signed-by=/usr/share/keyrings/miktex.gpg] https://miktex.org/download/debian ${MIKTEX_SRC_REPO} universe" | tee /etc/apt/sources.list.d/miktex.list # Install dependencies via apt-get RUN --mount=type=bind,target=/context \ apt-get update \ diff --git a/README.md b/README.md index bd0ac61..3accd32 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # MikTeX Docker Image -This repository is based on [Debian 12.x Bookworm (slim) with Python 3.14](https://hub.docker.com/_/python). +This repository is based on [Debian 13.x Trixie (slim) with Python 3.14](https://hub.docker.com/_/python). Docker Hub: https://hub.docker.com/r/pytooling/miktex