mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 04:22:11 +00:00
rebuild snare, tanner
This commit is contained in:
parent
0928e37326
commit
3713139fc6
4 changed files with 13 additions and 10 deletions
|
@ -1,10 +1,11 @@
|
|||
FROM alpine
|
||||
FROM alpine:3.10
|
||||
#
|
||||
# Include dist
|
||||
ADD dist/ /root/dist/
|
||||
#
|
||||
# Install packages
|
||||
RUN apk -U --no-cache add \
|
||||
RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
||||
apk -U --no-cache add \
|
||||
build-base \
|
||||
file \
|
||||
git \
|
||||
|
@ -14,7 +15,6 @@ RUN apk -U --no-cache add \
|
|||
python3 \
|
||||
python3-dev \
|
||||
re2c && \
|
||||
pip3 install --no-cache-dir --upgrade pip && \
|
||||
#
|
||||
# Install bfr sandbox from git
|
||||
git clone --depth=1 https://github.com/mushorg/BFR /opt/BFR && \
|
||||
|
|
|
@ -4,7 +4,8 @@ FROM redis:alpine
|
|||
ADD dist/ /root/dist/
|
||||
#
|
||||
# Setup apt
|
||||
RUN apk -U --no-cache add redis && \
|
||||
RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
||||
apk -U --no-cache add redis && \
|
||||
cp /root/dist/redis.conf /etc && \
|
||||
#
|
||||
# Clean up
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
FROM alpine
|
||||
FROM alpine:3.10
|
||||
#
|
||||
# Include dist
|
||||
ADD dist/ /root/dist/
|
||||
#
|
||||
# Setup apt
|
||||
RUN apk -U --no-cache add \
|
||||
RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
||||
apk -U --no-cache add \
|
||||
build-base \
|
||||
git \
|
||||
linux-headers \
|
||||
|
@ -14,7 +15,7 @@ RUN apk -U --no-cache add \
|
|||
# Setup Snare
|
||||
git clone --depth=1 https://github.com/mushorg/snare /opt/snare && \
|
||||
cd /opt/snare/ && \
|
||||
pip3 install --no-cache-dir --upgrade pip setuptools && \
|
||||
pip3 install --no-cache-dir setuptools && \
|
||||
pip3 install --no-cache-dir -r requirements.txt && \
|
||||
python3 setup.py install && \
|
||||
cd / && \
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
FROM alpine
|
||||
FROM alpine:3.10
|
||||
#
|
||||
# Include dist
|
||||
ADD dist/ /root/dist/
|
||||
#
|
||||
# Setup apt
|
||||
RUN apk -U --no-cache add \
|
||||
RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
||||
apk -U --no-cache add \
|
||||
build-base \
|
||||
git \
|
||||
libcap \
|
||||
|
@ -19,7 +20,7 @@ RUN apk -U --no-cache add \
|
|||
git clone --depth=1 https://github.com/mushorg/tanner /opt/tanner && \
|
||||
cp /root/dist/config.py /opt/tanner/tanner/ && \
|
||||
cd /opt/tanner/ && \
|
||||
pip3 install --no-cache-dir --upgrade pip setuptools && \
|
||||
pip3 install --no-cache-dir setuptools && \
|
||||
pip3 install --no-cache-dir -r requirements.txt && \
|
||||
python3 setup.py install && \
|
||||
rm -rf .coveragerc \
|
||||
|
|
Loading…
Reference in a new issue