mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-20 06:02:24 +00:00
rebuild snare, tanner, redis, phpox
This commit is contained in:
parent
41c0255ea6
commit
7d423f29da
4 changed files with 7 additions and 11 deletions
|
@ -1,8 +1,7 @@
|
|||
FROM alpine:3.10
|
||||
#
|
||||
# Install packages
|
||||
RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
||||
apk -U --no-cache add \
|
||||
RUN apk -U --no-cache add \
|
||||
build-base \
|
||||
file \
|
||||
git \
|
||||
|
|
|
@ -4,8 +4,7 @@ FROM redis:alpine
|
|||
ADD dist/ /root/dist/
|
||||
#
|
||||
# Setup apt
|
||||
RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
||||
apk -U --no-cache add redis && \
|
||||
RUN apk -U --no-cache add redis && \
|
||||
cp /root/dist/redis.conf /etc && \
|
||||
#
|
||||
# Clean up
|
||||
|
|
|
@ -4,8 +4,7 @@ FROM alpine:3.10
|
|||
ADD dist/ /root/dist/
|
||||
#
|
||||
# Setup apt
|
||||
RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
||||
apk -U --no-cache add \
|
||||
RUN apk -U --no-cache add \
|
||||
build-base \
|
||||
git \
|
||||
linux-headers \
|
||||
|
@ -15,7 +14,7 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
|||
# Setup Snare
|
||||
git clone https://github.com/mushorg/snare /opt/snare && \
|
||||
cd /opt/snare/ && \
|
||||
git checkout 7762b762b272f0599c16e11ef997c37d2899d33e && \
|
||||
git checkout 5af76755f367dae8acb347962be34eb8de14f85a && \
|
||||
pip3 install --no-cache-dir setuptools && \
|
||||
pip3 install --no-cache-dir -r requirements.txt && \
|
||||
python3 setup.py install && \
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
FROM alpine:3.12
|
||||
FROM alpine:3.13
|
||||
#
|
||||
# Include dist
|
||||
ADD dist/ /root/dist/
|
||||
#
|
||||
# Setup apt
|
||||
RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
||||
apk -U --no-cache add \
|
||||
RUN apk -U --no-cache add \
|
||||
build-base \
|
||||
git \
|
||||
libcap \
|
||||
|
@ -22,7 +21,7 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
|||
cd /opt/tanner/ && \
|
||||
# git fetch origin pull/364/head:test && \
|
||||
# git checkout test && \
|
||||
git checkout 40e2357119065445cbb06234e953a95e5a73ce93 && \
|
||||
git checkout 1fd5465ef5658c2211e16e092c36b3bb05600730 && \
|
||||
cp /root/dist/config.yaml /opt/tanner/tanner/data && \
|
||||
pip3 install --no-cache-dir setuptools && \
|
||||
pip3 install --no-cache-dir -r requirements.txt && \
|
||||
|
|
Loading…
Reference in a new issue