mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
bump spiderfoot to v3.4
This commit is contained in:
parent
1fe0247095
commit
183136c1f1
2 changed files with 9 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.13
|
FROM alpine:3.14
|
||||||
#
|
#
|
||||||
# Get and install dependencies & packages
|
# Get and install dependencies & packages
|
||||||
RUN apk -U --no-cache add \
|
RUN apk -U --no-cache add \
|
||||||
|
@ -18,10 +18,10 @@ RUN apk -U --no-cache add \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
py-cffi \
|
# py-cffi \
|
||||||
py-cryptography \
|
# py-cryptography \
|
||||||
py-pillow \
|
# py-pillow \
|
||||||
py-future \
|
# py-future \
|
||||||
py3-pip \
|
py3-pip \
|
||||||
swig \
|
swig \
|
||||||
tinyxml \
|
tinyxml \
|
||||||
|
@ -33,8 +33,9 @@ RUN apk -U --no-cache add \
|
||||||
adduser -S -s /bin/ash -u 2000 -D -g 2000 spiderfoot && \
|
adduser -S -s /bin/ash -u 2000 -D -g 2000 spiderfoot && \
|
||||||
#
|
#
|
||||||
# Install spiderfoot
|
# Install spiderfoot
|
||||||
git clone --depth=1 -b v3.3 https://github.com/smicallef/spiderfoot /home/spiderfoot && \
|
git clone --depth=1 -b v3.4 https://github.com/smicallef/spiderfoot /home/spiderfoot && \
|
||||||
cd /home/spiderfoot && \
|
cd /home/spiderfoot && \
|
||||||
|
pip3 install --upgrade pip && \
|
||||||
pip3 install --no-cache-dir wheel && \
|
pip3 install --no-cache-dir wheel && \
|
||||||
pip3 install --no-cache-dir -r requirements.txt && \
|
pip3 install --no-cache-dir -r requirements.txt && \
|
||||||
chown -R spiderfoot:spiderfoot /home/spiderfoot && \
|
chown -R spiderfoot:spiderfoot /home/spiderfoot && \
|
||||||
|
@ -62,4 +63,4 @@ HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:8080/spiderfoot/'
|
||||||
# Set user, workdir and start spiderfoot
|
# Set user, workdir and start spiderfoot
|
||||||
USER spiderfoot:spiderfoot
|
USER spiderfoot:spiderfoot
|
||||||
WORKDIR /home/spiderfoot
|
WORKDIR /home/spiderfoot
|
||||||
CMD ["/usr/bin/python3.8", "sf.py","-l", "0.0.0.0:8080"]
|
CMD ["/usr/bin/python3.9", "sf.py","-l", "0.0.0.0:8080"]
|
||||||
|
|
|
@ -14,6 +14,6 @@ services:
|
||||||
- spiderfoot_local
|
- spiderfoot_local
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:64303:8080"
|
- "127.0.0.1:64303:8080"
|
||||||
image: "ghcr.io/telekom-security/spiderfoot:2006"
|
image: "dtagdevsec/spiderfoot:2006"
|
||||||
volumes:
|
volumes:
|
||||||
- /data/spiderfoot/spiderfoot.db:/home/spiderfoot/spiderfoot.db
|
- /data/spiderfoot/spiderfoot.db:/home/spiderfoot/spiderfoot.db
|
||||||
|
|
Loading…
Reference in a new issue