-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathDockerfile
26 lines (20 loc) · 829 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM python:3.7-alpine
ENV HTTP_PROXY=$HTTP_PROXY
ENV HTTPS_PROXY=$HTTPS_PROXY
ENV NO_PROXY=$NO_PROXY
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 pip3 install truffleHog==2.2.1
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"]