From 87e6a9f467cce31ce2a96e5ea804874c1b84b415 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Thu, 16 Jan 2025 23:31:51 +0100 Subject: [PATCH] Force pip install to override system packages --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fe04290..01673b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,8 @@ FROM gitea/runner-images:ubuntu-latest LABEL maintainer="Luke Tainton " ENV PYTHONUNBUFFERED=1 -RUN python3 -m pip install --no-cache --upgrade pip && \ - python3 -m pip install --no-cache conventional-pre-commit==4.0.0 +RUN python3 -m pip install --break-system-packages --no-cache --upgrade pip && \ + python3 -m pip install --break-system-packages --no-cache conventional-pre-commit==4.0.0 # Copies your code file from your action repository to the filesystem path `/` of the container COPY entrypoint.sh /entrypoint.sh