Luke Tainton 720f156fa3
All checks were successful
Release / Create Release (push) Successful in 10s
Release / Print Release (push) Successful in 2s
fix(pip): correctly pass --break-system-packages
2025-01-16 23:43:02 +01:00

14 lines
503 B
Docker

FROM gitea/runner-images:ubuntu-latest
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
ENV PYTHONUNBUFFERED=1
RUN python3 -m pip install --no-cache --upgrade pip && \
python3 -m pip install --no-cache conventional-pre-commit==4.0.0 --break-system-packages
# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /entrypoint.sh
# Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/entrypoint.sh"]