From 4382413672b87021f95d6de60d1ca64f83025b1c Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Thu, 19 Jan 2023 11:42:25 +0000 Subject: [PATCH] bump t-pot-attack-map to 1.1.0, buildx to 0.10.0 --- bin/setup_builder.sh | 2 +- docker/elk/map/Dockerfile | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/setup_builder.sh b/bin/setup_builder.sh index 92ab95e0..93aac477 100755 --- a/bin/setup_builder.sh +++ b/bin/setup_builder.sh @@ -20,7 +20,7 @@ fi # Main mkdir -p /root/.docker/cli-plugins/ cd /root/.docker/cli-plugins/ -wget https://github.com/docker/buildx/releases/download/v0.8.2/buildx-v0.8.2.linux-amd64 -O docker-buildx +wget https://github.com/docker/buildx/releases/download/v0.10.0/buildx-v0.10.0.linux-amd64 -O docker-buildx chmod +x docker-buildx docker buildx ls diff --git a/docker/elk/map/Dockerfile b/docker/elk/map/Dockerfile index 21ae9007..76ac6b13 100644 --- a/docker/elk/map/Dockerfile +++ b/docker/elk/map/Dockerfile @@ -15,8 +15,8 @@ RUN apk -U --no-cache add \ # Install from GitHub and setup mkdir -p /opt && \ cd /opt/ && \ - git clone https://github.com/t3chn0m4g3/geoip-attack-map -b 1.0.2 && \ - cd geoip-attack-map && \ + git clone https://github.com/t3chn0m4g3/t-pot-attack-map -b 1.1.0 && \ + cd t-pot-attack-map && \ # git checkout eaf8d123d72a62e4c12093e4e8487e10e6ef60f3 && \ # git branch -a && \ # git checkout multi && \ @@ -27,16 +27,16 @@ RUN apk -U --no-cache add \ # Setup user, groups and configs addgroup -g 2000 map && \ adduser -S -H -s /bin/ash -u 2000 -D -g 2000 map && \ - chown map:map -R /opt/geoip-attack-map && \ + chown map:map -R /opt/t-pot-attack-map && \ # # Clean up apk del --purge build-base \ git \ python3-dev && \ - rm -rf /root/* /var/cache/apk/* /opt/geoip-attack-map/.git + rm -rf /root/* /var/cache/apk/* /opt/t-pot-attack-map/.git # -# Start GeoIPAttackMap +# Start T-Pot-Attack-Map STOPSIGNAL SIGINT USER map:map -WORKDIR /opt/geoip-attack-map +WORKDIR /opt/t-pot-attack-map CMD /usr/bin/python3 $MAP_COMMAND