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