forked from m4ll0k/SecretFinder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
14 lines (14 loc) · 754 Bytes
/
Dockerfile
File metadata and controls
14 lines (14 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# usage:
# while read url; do docker run -t wfnintr/secretfinder -i $url -o cli | tee -a js_results.txt;done < urls.txt
from python:alpine
LABEL source="SecretFinder <github.com/m4ll0k/SecretFinder>"
LABEL maintainer="[email protected]"
RUN apk update && \
apk add --virtual build-deps \
build-base gcc python3-dev && \
apk add libxml2-dev libxslt-dev && \
wget https://raw.githubusercontent.com/m4ll0k/SecretFinder/master/requirements.txt -qO - | pip3 install -r /dev/stdin && \
wget https://raw.githubusercontent.com/m4ll0k/SecretFinder/master/SecretFinder.py -qO /usr/local/bin/SecretFinder.py && \
chmod +x /usr/local/bin/SecretFinder.py && \
apk del build-deps
ENTRYPOINT [ "SecretFinder.py" ]