bump snare, tanner, prep for rebuild

This commit is contained in:
t3chn0m4g3 2021-09-24 15:18:59 +00:00
parent efa9d991ba
commit f5d11bb008
4 changed files with 16 additions and 14 deletions

View file

@ -14,7 +14,7 @@ services:
tty: true
networks:
- tanner_local
image: "ghcr.io/telekom-security/redis:2006"
image: "dtagdevsec/redis:2006"
read_only: true
# PHP Sandbox service
@ -28,7 +28,7 @@ services:
tty: true
networks:
- tanner_local
image: "ghcr.io/telekom-security/phpox:2006"
image: "dtagdevsec/phpox:2006"
read_only: true
# Tanner API Service
@ -42,7 +42,7 @@ services:
tty: true
networks:
- tanner_local
image: "ghcr.io/telekom-security/tanner:2006"
image: "dtagdevsec/tanner:2006"
read_only: true
volumes:
- /data/tanner/log:/var/log/tanner
@ -63,7 +63,7 @@ services:
- tanner_local
# ports:
# - "127.0.0.1:8091:8091"
image: "ghcr.io/telekom-security/tanner:2006"
image: "dtagdevsec/tanner:2006"
command: tannerweb
read_only: true
volumes:
@ -82,7 +82,7 @@ services:
tty: true
networks:
- tanner_local
image: "ghcr.io/telekom-security/tanner:2006"
image: "dtagdevsec/tanner:2006"
command: tanner
read_only: true
volumes:
@ -104,6 +104,6 @@ services:
- tanner_local
ports:
- "80:80"
image: "ghcr.io/telekom-security/snare:2006"
image: "dtagdevsec/snare:2006"
depends_on:
- tanner

View file

@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.13
#
# Install packages
RUN apk -U --no-cache add \
@ -16,7 +16,7 @@ RUN apk -U --no-cache add \
# Install bfr sandbox from git
git clone https://github.com/mushorg/BFR /opt/BFR && \
cd /opt/BFR && \
git checkout 508729202428a35bcc6bb27dd97b831f7e5009b5 && \
# git checkout 508729202428a35bcc6bb27dd97b831f7e5009b5 && \
phpize7 && \
./configure \
--with-php-config=/usr/bin/php-config7 \
@ -30,7 +30,7 @@ RUN apk -U --no-cache add \
# Install PHP Sandbox
git clone https://github.com/mushorg/phpox /opt/phpox && \
cd /opt/phpox && \
git checkout 001437b9ed3e228fac3828e18fe90991a330578d && \
git checkout a62c8136ec7b3ebab0c989f4235e2960175121f8 && \
pip3 install -r requirements.txt && \
make && \
#

View file

@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.14
#
# Include dist
ADD dist/ /root/dist/
@ -9,12 +9,13 @@ RUN apk -U --no-cache add \
git \
linux-headers \
python3 \
python3-dev && \
python3-dev \
py3-pip && \
#
# Setup Snare
git clone https://github.com/mushorg/snare /opt/snare && \
cd /opt/snare/ && \
git checkout 5af76755f367dae8acb347962be34eb8de14f85a && \
git checkout 0919a80838eb0823a3b7029b0264628ee0a36211 && \
pip3 install --no-cache-dir setuptools && \
pip3 install --no-cache-dir -r requirements.txt && \
python3 setup.py install && \

View file

@ -9,7 +9,7 @@ RUN apk -U --no-cache add \
git \
libcap \
libffi-dev \
libressl-dev \
openssl-dev \
linux-headers \
py3-pip \
py3-yarl \
@ -21,7 +21,8 @@ RUN apk -U --no-cache add \
cd /opt/tanner/ && \
# git fetch origin pull/364/head: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 && \
pip3 install --no-cache-dir setuptools && \
pip3 install --no-cache-dir -r requirements.txt && \