Skip to content

Commit

Permalink
Updated thanks to @glenux.
Browse files Browse the repository at this point in the history
  • Loading branch information
smicallef committed Dec 23, 2015
1 parent 2194838 commit 5d77aaf
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Expand Up @@ -25,15 +25,18 @@ RUN apt-get update && apt-get install -y \
python-dev \
python-lxml \
swig \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
--no-install-recommends

RUN rm -rf /var/lib/apt/lists/* \
&& cd /usr/include/openssl/ \
&& ln -s ../x86_64-linux-gnu/openssl/opensslconf.h . \
&& 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.6.1
ENV SPIDERFOOT_VERSION 2.7.0

# Download the specified release.
WORKDIR /home
Expand Down

0 comments on commit 5d77aaf

Please sign in to comment.