mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-19 21:52:27 +00:00
finalize fatt support
This commit is contained in:
parent
a87af2ce6a
commit
5e22afd10b
4 changed files with 13 additions and 7 deletions
|
@ -1,5 +1,11 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 20190604
|
||||||
|
- **Finalize Fatt support**
|
||||||
|
- Build visualizations, searches, dashboards
|
||||||
|
- Rebuild index patterns
|
||||||
|
- Some finishing touches
|
||||||
|
|
||||||
## 20190601
|
## 20190601
|
||||||
- **Start supporting Fatt, remove Glastopf**
|
- **Start supporting Fatt, remove Glastopf**
|
||||||
- Build Dockerfile, Adjust logstash, installer, update and such.
|
- Build Dockerfile, Adjust logstash, installer, update and such.
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
FROM alpine
|
FROM alpine
|
||||||
|
#
|
||||||
# Include dist
|
# Include dist
|
||||||
#ADD dist/ /root/dist/
|
#ADD dist/ /root/dist/
|
||||||
|
#
|
||||||
# Get and install dependencies & packages
|
# Get and install dependencies & packages
|
||||||
RUN apk -U add \
|
RUN apk -U add \
|
||||||
git \
|
git \
|
||||||
|
@ -11,11 +11,11 @@ RUN apk -U add \
|
||||||
python3 \
|
python3 \
|
||||||
python3-dev && \
|
python3-dev && \
|
||||||
apk -U add tshark --repository http://dl-3.alpinelinux.org/alpine/edge/community/ && \
|
apk -U add tshark --repository http://dl-3.alpinelinux.org/alpine/edge/community/ && \
|
||||||
|
#
|
||||||
# Setup user
|
# Setup user
|
||||||
addgroup -g 2000 fatt && \
|
addgroup -g 2000 fatt && \
|
||||||
adduser -S -s /bin/ash -u 2000 -D -g 2000 fatt && \
|
adduser -S -s /bin/ash -u 2000 -D -g 2000 fatt && \
|
||||||
|
#
|
||||||
# Install fatt
|
# Install fatt
|
||||||
mkdir -p /opt && \
|
mkdir -p /opt && \
|
||||||
cd /opt && \
|
cd /opt && \
|
||||||
|
@ -24,16 +24,16 @@ RUN apk -U add \
|
||||||
mkdir -p log && \
|
mkdir -p log && \
|
||||||
pip3 install --upgrade pip && \
|
pip3 install --upgrade pip && \
|
||||||
pip3 install pyshark==0.4.2.2 && \
|
pip3 install pyshark==0.4.2.2 && \
|
||||||
|
#
|
||||||
# Setup configs
|
# Setup configs
|
||||||
chown fatt:fatt -R /opt/fatt/* && \
|
chown fatt:fatt -R /opt/fatt/* && \
|
||||||
|
#
|
||||||
# Clean up
|
# Clean up
|
||||||
apk del --purge git \
|
apk del --purge git \
|
||||||
python3-dev && \
|
python3-dev && \
|
||||||
rm -rf /root/* && \
|
rm -rf /root/* && \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
#
|
||||||
# Start fatt
|
# Start fatt
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
ENV PYTHONPATH /opt/fatt
|
ENV PYTHONPATH /opt/fatt
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue