cleanup spiderfoot, prep fatt rebuild

This commit is contained in:
t3chn0m4g3 2021-09-30 19:14:11 +00:00
parent 183136c1f1
commit 77e2dd2da6
3 changed files with 5 additions and 12 deletions

View file

@ -1,7 +1,4 @@
FROM alpine:3.13 FROM alpine:3.14
#
# Include dist
#ADD dist/ /root/dist/
# #
# Get and install dependencies & packages # Get and install dependencies & packages
RUN apk -U add \ RUN apk -U add \
@ -10,8 +7,8 @@ RUN apk -U add \
py3-lxml \ py3-lxml \
py3-pip \ py3-pip \
python3 \ python3 \
python3-dev && \ python3-dev \
apk -U add tshark --repository http://dl-3.alpinelinux.org/alpine/edge/community/ && \ tshark && \
# #
# Setup user # Setup user
addgroup -g 2000 fatt && \ addgroup -g 2000 fatt && \
@ -24,7 +21,7 @@ RUN apk -U add \
cd fatt && \ cd fatt && \
git checkout 314cd1ff7873b5a145a51ec4e85f6107828a2c79 && \ git checkout 314cd1ff7873b5a145a51ec4e85f6107828a2c79 && \
mkdir -p log && \ mkdir -p log && \
pip3 install pyshark==0.4.2.2 && \ pip3 install pyshark==0.4.2.11 && \
# #
# Setup configs # Setup configs
chown fatt:fatt -R /opt/fatt/* && \ chown fatt:fatt -R /opt/fatt/* && \

View file

@ -12,6 +12,6 @@ services:
- NET_ADMIN - NET_ADMIN
- SYS_NICE - SYS_NICE
- NET_RAW - NET_RAW
image: "ghcr.io/telekom-security/fatt:2006" image: "dtagdevsec/fatt:2006"
volumes: volumes:
- /data/fatt/log:/opt/fatt/log - /data/fatt/log:/opt/fatt/log

View file

@ -18,10 +18,6 @@ RUN apk -U --no-cache add \
openssl-dev \ openssl-dev \
python3 \ python3 \
python3-dev \ python3-dev \
# py-cffi \
# py-cryptography \
# py-pillow \
# py-future \
py3-pip \ py3-pip \
swig \ swig \
tinyxml \ tinyxml \