From d20a8fa99c332e71a385f118f290451e6807de0d Mon Sep 17 00:00:00 2001 From: jsmith212 <29954021+jsmith212@users.noreply.github.com> Date: Sun, 5 Jul 2026 02:03:34 -0600 Subject: [PATCH] fix: ignore debian-owned packages when pip-installing image tools Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01DxezsGE8KcCCEqsaQH9Lat --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 45c26be..3cab89c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,9 @@ RUN apt-get update && apt-get install -y python3 python3-pip ninja-build clang-f # Install node for actions RUN curl -fsSL https://deb.nodesource.com/setup_current.x | bash - && apt-get install -y nodejs -# Install python tools, break-system-packages is needed for debian-based images -RUN pip install --break-system-packages meson pre-commit commitizen gcovr +# Install python tools, break-system-packages is needed for debian-based images; +# ignore-installed because pip can't uninstall debian-owned packages (no RECORD file) +RUN pip install --break-system-packages --ignore-installed meson pre-commit commitizen gcovr # Install just RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin