forked from edplato/trufflehog-actions-scan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
22 lines (17 loc) · 763 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM python:3.7-alpine
LABEL name="trufflehog-actions-scan"
LABEL version="1.0.0"
LABEL repository="https://github.com/edplato/trufflehog-actions-scan"
LABEL homepage="https://github.com/edplato/trufflehog-actions-scan"
LABEL maintainer="Ed Plato"
LABEL "com.github.actions.name"="Trufflehog Actions Scan"
LABEL "com.github.actions.description"="Scan repository for secrets with basic trufflehog defaults in place for easy setup."
LABEL "com.github.actions.icon"="shield"
LABEL "com.github.actions.color"="yellow"
RUN pip install gitdb2==3.0.0 truffleHog==2.0.99
RUN apk --update add git less openssh && \
rm -rf /var/lib/apt/lists/* && \
rm /var/cache/apk/*
ADD entrypoint.sh /entrypoint.sh
ADD regexes.json /regexes.json
ENTRYPOINT ["/entrypoint.sh"]