SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Adds Dockerfile to simplify deployment.
Michael Pellon986cb9022acd
diff --git a/Dockerfile b/Dockerfilenew file mode 100644index 00000000..b86137c5--- /dev/null+++ b/Dockerfile@@ -0,0 +1,52 @@+#+# Spiderfoot Dockerfile+#+# http://www.spiderfoot.net+#+# Written by: Michael Pellon <[email protected]>+#+# Usage:+#+# sudo docker build -t spiderfoot .+# sudo docker run -it -p 8080:8080 spiderfoot++# Pull the base image.+FROM ubuntu:14.04++# Install pre-requisites.+RUN apt-get update && apt-get install -y \+ build-essential \+ curl \+ git \+ libssl-dev \+ libxml2-dev \+ libxslt1-dev \+ python-pip \+ python-dev \+ python-lxml \+ swig \+ --no-install-recommends \+ && rm -rf /var/lib/apt/lists/* \+ && pip install cherrypy lxml mako M2Crypto netaddr++# Create a dedicated/non-privileged user to run the app.+RUN addgroup spiderfoot && \+ useradd -r -g spiderfoot -d /home/spiderfoot -s /sbin/nologin -c "SpiderFoot User" spiderfoot++ENV SPIDERFOOT_VERSION 2.4.0++# Download the specified release.+WORKDIR /home+RUN curl -sSL https://github.com/smicallef/spiderfoot/archive/v$SPIDERFOOT_VERSION-final.tar.gz \+ | tar -v -C /home -xz \+ && mv /home/spiderfoot-$SPIDERFOOT_VERSION-final /home/spiderfoot \+ && chown -R spiderfoot:spiderfoot /home/spiderfoot++USER spiderfoot+WORKDIR /home/spiderfoot++EXPOSE 8080++# Run the application.+ENTRYPOINT ["/usr/bin/python"]+CMD ["sf.py", "0.0.0.0:8080"]