From 30e3d521534c250712eb8c945322e25389755df8 Mon Sep 17 00:00:00 2001 From: Joe Jabs Date: Wed, 26 Nov 2025 12:31:46 +0100 Subject: [PATCH] Added entrypoint --- Containerfile | 1 + entrypoint.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100755 entrypoint.sh diff --git a/Containerfile b/Containerfile index 9fe6516..722ff43 100644 --- a/Containerfile +++ b/Containerfile @@ -4,6 +4,7 @@ WORKDIR /opt/hulud_check RUN apt-get update && apt-get install -y ripgrep git curl ADD check_gitlab.py . ADD pyproject.toml . +ADD entrypoint.sh . RUN pip3 install . COPY --chmod=755 < sha1-hulud-2-packages.csv +echo "Format patterns" +tail -n +2 sha1-hulud-2-packages.csv | awk -F ',' '{print $1}' > patternfile +echo "Running check" +python3 -u check_gitlab.py