Initial commit
This commit is contained in:
16
Containerfile
Normal file
16
Containerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM python:3.13-slim-trixie
|
||||
|
||||
WORKDIR /opt/hulud_check
|
||||
RUN apt-get update && apt-get install -y ripgrep git
|
||||
ADD check_gitlab.py .
|
||||
ADD pyproject.toml
|
||||
RUN pip install .
|
||||
|
||||
COPY <<EOF /entrypoint.sh
|
||||
#!/bin/bash
|
||||
curl https://raw.githubusercontent.com/wiz-sec-public/wiz-research-iocs/refs/heads/main/reports/shai-hulud-2-packages.csv > sha1-hulud-2-packages.csv
|
||||
tail -n +2 sha1-hulud-2-packages.csv | awk -F ',' '{print $1}' > patternfile
|
||||
python3 check_gitlab.py
|
||||
EOF
|
||||
|
||||
ENTRYPOINT []
|
||||
Reference in New Issue
Block a user