mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 04:52:11 +00:00
bump snare, tanner, prep for rebuild
This commit is contained in:
parent
efa9d991ba
commit
f5d11bb008
4 changed files with 16 additions and 14 deletions
|
@ -14,7 +14,7 @@ services:
|
||||||
tty: true
|
tty: true
|
||||||
networks:
|
networks:
|
||||||
- tanner_local
|
- tanner_local
|
||||||
image: "ghcr.io/telekom-security/redis:2006"
|
image: "dtagdevsec/redis:2006"
|
||||||
read_only: true
|
read_only: true
|
||||||
|
|
||||||
# PHP Sandbox service
|
# PHP Sandbox service
|
||||||
|
@ -28,7 +28,7 @@ services:
|
||||||
tty: true
|
tty: true
|
||||||
networks:
|
networks:
|
||||||
- tanner_local
|
- tanner_local
|
||||||
image: "ghcr.io/telekom-security/phpox:2006"
|
image: "dtagdevsec/phpox:2006"
|
||||||
read_only: true
|
read_only: true
|
||||||
|
|
||||||
# Tanner API Service
|
# Tanner API Service
|
||||||
|
@ -42,7 +42,7 @@ services:
|
||||||
tty: true
|
tty: true
|
||||||
networks:
|
networks:
|
||||||
- tanner_local
|
- tanner_local
|
||||||
image: "ghcr.io/telekom-security/tanner:2006"
|
image: "dtagdevsec/tanner:2006"
|
||||||
read_only: true
|
read_only: true
|
||||||
volumes:
|
volumes:
|
||||||
- /data/tanner/log:/var/log/tanner
|
- /data/tanner/log:/var/log/tanner
|
||||||
|
@ -63,7 +63,7 @@ services:
|
||||||
- tanner_local
|
- tanner_local
|
||||||
# ports:
|
# ports:
|
||||||
# - "127.0.0.1:8091:8091"
|
# - "127.0.0.1:8091:8091"
|
||||||
image: "ghcr.io/telekom-security/tanner:2006"
|
image: "dtagdevsec/tanner:2006"
|
||||||
command: tannerweb
|
command: tannerweb
|
||||||
read_only: true
|
read_only: true
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -82,7 +82,7 @@ services:
|
||||||
tty: true
|
tty: true
|
||||||
networks:
|
networks:
|
||||||
- tanner_local
|
- tanner_local
|
||||||
image: "ghcr.io/telekom-security/tanner:2006"
|
image: "dtagdevsec/tanner:2006"
|
||||||
command: tanner
|
command: tanner
|
||||||
read_only: true
|
read_only: true
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -104,6 +104,6 @@ services:
|
||||||
- tanner_local
|
- tanner_local
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
image: "ghcr.io/telekom-security/snare:2006"
|
image: "dtagdevsec/snare:2006"
|
||||||
depends_on:
|
depends_on:
|
||||||
- tanner
|
- tanner
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.10
|
FROM alpine:3.13
|
||||||
#
|
#
|
||||||
# Install packages
|
# Install packages
|
||||||
RUN apk -U --no-cache add \
|
RUN apk -U --no-cache add \
|
||||||
|
@ -16,7 +16,7 @@ RUN apk -U --no-cache add \
|
||||||
# Install bfr sandbox from git
|
# Install bfr sandbox from git
|
||||||
git clone https://github.com/mushorg/BFR /opt/BFR && \
|
git clone https://github.com/mushorg/BFR /opt/BFR && \
|
||||||
cd /opt/BFR && \
|
cd /opt/BFR && \
|
||||||
git checkout 508729202428a35bcc6bb27dd97b831f7e5009b5 && \
|
# git checkout 508729202428a35bcc6bb27dd97b831f7e5009b5 && \
|
||||||
phpize7 && \
|
phpize7 && \
|
||||||
./configure \
|
./configure \
|
||||||
--with-php-config=/usr/bin/php-config7 \
|
--with-php-config=/usr/bin/php-config7 \
|
||||||
|
@ -30,7 +30,7 @@ RUN apk -U --no-cache add \
|
||||||
# Install PHP Sandbox
|
# Install PHP Sandbox
|
||||||
git clone https://github.com/mushorg/phpox /opt/phpox && \
|
git clone https://github.com/mushorg/phpox /opt/phpox && \
|
||||||
cd /opt/phpox && \
|
cd /opt/phpox && \
|
||||||
git checkout 001437b9ed3e228fac3828e18fe90991a330578d && \
|
git checkout a62c8136ec7b3ebab0c989f4235e2960175121f8 && \
|
||||||
pip3 install -r requirements.txt && \
|
pip3 install -r requirements.txt && \
|
||||||
make && \
|
make && \
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.10
|
FROM alpine:3.14
|
||||||
#
|
#
|
||||||
# Include dist
|
# Include dist
|
||||||
ADD dist/ /root/dist/
|
ADD dist/ /root/dist/
|
||||||
|
@ -9,12 +9,13 @@ RUN apk -U --no-cache add \
|
||||||
git \
|
git \
|
||||||
linux-headers \
|
linux-headers \
|
||||||
python3 \
|
python3 \
|
||||||
python3-dev && \
|
python3-dev \
|
||||||
|
py3-pip && \
|
||||||
#
|
#
|
||||||
# Setup Snare
|
# Setup Snare
|
||||||
git clone https://github.com/mushorg/snare /opt/snare && \
|
git clone https://github.com/mushorg/snare /opt/snare && \
|
||||||
cd /opt/snare/ && \
|
cd /opt/snare/ && \
|
||||||
git checkout 5af76755f367dae8acb347962be34eb8de14f85a && \
|
git checkout 0919a80838eb0823a3b7029b0264628ee0a36211 && \
|
||||||
pip3 install --no-cache-dir setuptools && \
|
pip3 install --no-cache-dir setuptools && \
|
||||||
pip3 install --no-cache-dir -r requirements.txt && \
|
pip3 install --no-cache-dir -r requirements.txt && \
|
||||||
python3 setup.py install && \
|
python3 setup.py install && \
|
||||||
|
|
|
@ -9,7 +9,7 @@ RUN apk -U --no-cache add \
|
||||||
git \
|
git \
|
||||||
libcap \
|
libcap \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
libressl-dev \
|
openssl-dev \
|
||||||
linux-headers \
|
linux-headers \
|
||||||
py3-pip \
|
py3-pip \
|
||||||
py3-yarl \
|
py3-yarl \
|
||||||
|
@ -21,7 +21,8 @@ RUN apk -U --no-cache add \
|
||||||
cd /opt/tanner/ && \
|
cd /opt/tanner/ && \
|
||||||
# git fetch origin pull/364/head:test && \
|
# git fetch origin pull/364/head:test && \
|
||||||
# git checkout test && \
|
# git checkout test && \
|
||||||
git checkout 1fd5465ef5658c2211e16e092c36b3bb05600730 && \
|
git checkout 20dabcbccc50f8878525677b925a4c9abcaf9f54 && \
|
||||||
|
sed -i 's/aioredis/aioredis==1.3.1/g' requirements.txt && \
|
||||||
cp /root/dist/config.yaml /opt/tanner/tanner/data && \
|
cp /root/dist/config.yaml /opt/tanner/tanner/data && \
|
||||||
pip3 install --no-cache-dir setuptools && \
|
pip3 install --no-cache-dir setuptools && \
|
||||||
pip3 install --no-cache-dir -r requirements.txt && \
|
pip3 install --no-cache-dir -r requirements.txt && \
|
||||||
|
|
Loading…
Reference in a new issue