summaryrefslogtreecommitdiffstats
path: root/shodan/Dockerfile
diff options
context:
space:
mode:
authorTimo Trinks <ttrinks@fedoraproject.org>2023-06-01 15:00:41 +1000
committerTimo Trinks <ttrinks@fedoraproject.org>2023-06-01 15:00:41 +1000
commit249cf305ef87c29d8cf9ce47f72be8d64da68f7c (patch)
tree69a3e99a8b2e3f18977fb51da94da05c9d05d3dd /shodan/Dockerfile
parent80c31462a3ebcc136f5b589483dd8fd5cc7ccec8 (diff)
downloadcontainers-249cf305ef87c29d8cf9ce47f72be8d64da68f7c.tar.gz
containers-249cf305ef87c29d8cf9ce47f72be8d64da68f7c.tar.xz
containers-249cf305ef87c29d8cf9ce47f72be8d64da68f7c.zip
- add script to calc mmh3 favicon hashes
Signed-off-by: Timo Trinks <ttrinks@fedoraproject.org>
Diffstat (limited to 'shodan/Dockerfile')
-rw-r--r--shodan/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/shodan/Dockerfile b/shodan/Dockerfile
index 12a87c4..d26eb35 100644
--- a/shodan/Dockerfile
+++ b/shodan/Dockerfile
@@ -4,8 +4,11 @@ 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"]