FROM debian:bookworm-slim@sha256:7c7b2c966bc9ee8cedfeef67e0e279108992c77681fa595db4a9d65c06ccc587
# Immutable Debian snapshot fixes the TeX Live 2022 and supporting package set.
RUN rm /etc/apt/sources.list.d/debian.sources \
 && printf '%s\n' 'deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20261001T000000Z bookworm main' > /etc/apt/sources.list \
 && apt-get -o Acquire::Check-Valid-Until=false update \
 && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates git nodejs python3 python3-pygments python3-pypdf latexmk texlive-latex-extra texlive-fonts-recommended lmodern texlive-science poppler-utils \
 && rm -rf /var/lib/apt/lists/*
WORKDIR /workspace
