# Shared Python base image — the single source of truth for the Debian base, the # uv version, and the uv-managed CPython version used by every uv-based Python # service (backend, mta-in, and the mta-in pymta variant). # # Built + published by `make build-python-base` (locally, tagged # `messages-python-uv:local`) and by the `python-uv` job in messages-ghcr.yml # (multi-arch, pushed to ghcr). Services consume it via the build arg # PYTHON_UV_IMAGE and do `FROM ${PYTHON_UV_IMAGE} AS uv` — see compose.yaml # `build.args` and the CI `build-args` input. # # Deliberately MINIMAL: no build-essential here, because the MTA runtimes inherit # this image directly and we don't want compilers in production images. Each # service adds its own build deps in a build-only stage. FROM debian:trixie-slim@sha256:a99cfc517144bc59b1978475ec53b46ecabec7e43635402ee5b77cc54cd1b20a AS base # Bump to force an apt refresh + security upgrade of the base OS. ENV MIN_UPDATE_DATE="2026-09-21" RUN <