docker: remove pip from the runtime image, release 0.8.1 #18
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/weekly-maintenance-2026-11-02"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Weekly maintenance.
Findings (Trivy, fresh
docker build --pull, HIGH/CRITICAL with a fix): 5, all inside pip's own vendored libraries in the image: msgpack 1.1.2 (CVE-2026-114613, GHSA-6v7p-g79w-8964), urllib3 2.7.0 (CVE-2026-97687, CVE-2026-97689), setuptools 70.3.0 (CVE-2025-47273). Our Python dependencies were already current (pip list --outdatedempty, pip-audit clean).Change: pip is not needed at runtime, so it is uninstalled in the builder venv and in the final stage. No scanner suppression.
Result: Trivy HIGH/CRITICAL fixable 5 -> 0. Imports checked in the built image. Local ruff, mypy and all 345 tests pass.
Version 0.8.1 + CHANGELOG entry, so the release flow builds the new image. Release MR
develop->mainfollows once this is merged and green.🤖 Generated with Claude Code