summaryrefslogtreecommitdiffstats
path: root/shodan/Dockerfile
blob: d26eb35ab4ea939e804bc28f46f2fcff78b9babc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM registry.fedoraproject.org/fedora:latest
LABEL maintainer="Timo Trinks"

RUN dnf upgrade -y --refresh
RUN dnf install -y git curl yara wget tar pip bind-utils whois
RUN dnf clean all
RUN pip install mmh3
RUN pip install -U --user shodan

COPY icon.py /usr/local/bin/icon.py
RUN ["chmod", "0755", "/usr/local/bin/icon.py"]
COPY shodaninit.sh /usr/local/bin/shodaninit.sh
RUN ["chmod", "0755", "/usr/local/bin/shodaninit.sh"]
ENTRYPOINT ["/usr/local/bin/shodaninit.sh"]