-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
18 lines (14 loc) · 941 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:3.12-alpine
LABEL mantainer="cob0"\
org.opencontainers.image.authors="cob0 <cob0@tutanota.com>"\
org.opencontainers.image.title="dep-scan-threshold-analyzer"\
org.opencontainers.image.description="A binary tool that verifies if vulnerability reports generated by dep-scan comply with predefined security thresholds. It outputs OK if the vulnerabilities are within the threshold or FAIL if they exceed the allowed values."\
org.opencontainers.image.source="https://github.com/cob0/dep-scan-threshold-analyzer"\
org.opencontainers.image.version="1.0.0"\
org.opencontainers.image.licenses=GPLv3
COPY argparser /opt/dep-scan-threshold-analyzer/argparser
COPY depscan /opt/dep-scan-threshold-analyzer/depscan
COPY log /opt/dep-scan-threshold-analyzer/log
COPY dep_scan_threshold_analyzer.py /opt/dep-scan-threshold-analyzer
WORKDIR /opt/dep-scan-threshold-analyzer
ENTRYPOINT [ "python", "-u" ]