bump t-pot-attack-map to 1.1.0, buildx to 0.10.0

This commit is contained in:
t3chn0m4g3 2023-01-19 11:42:25 +00:00
parent 516bec1deb
commit 4382413672
2 changed files with 7 additions and 7 deletions

View file

@ -20,7 +20,7 @@ fi
# Main # Main
mkdir -p /root/.docker/cli-plugins/ mkdir -p /root/.docker/cli-plugins/
cd /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 chmod +x docker-buildx
docker buildx ls docker buildx ls

View file

@ -15,8 +15,8 @@ RUN apk -U --no-cache add \
# Install from GitHub and setup # Install from GitHub and setup
mkdir -p /opt && \ mkdir -p /opt && \
cd /opt/ && \ cd /opt/ && \
git clone https://github.com/t3chn0m4g3/geoip-attack-map -b 1.0.2 && \ git clone https://github.com/t3chn0m4g3/t-pot-attack-map -b 1.1.0 && \
cd geoip-attack-map && \ cd t-pot-attack-map && \
# git checkout eaf8d123d72a62e4c12093e4e8487e10e6ef60f3 && \ # git checkout eaf8d123d72a62e4c12093e4e8487e10e6ef60f3 && \
# git branch -a && \ # git branch -a && \
# git checkout multi && \ # git checkout multi && \
@ -27,16 +27,16 @@ RUN apk -U --no-cache add \
# Setup user, groups and configs # Setup user, groups and configs
addgroup -g 2000 map && \ addgroup -g 2000 map && \
adduser -S -H -s /bin/ash -u 2000 -D -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 # Clean up
apk del --purge build-base \ apk del --purge build-base \
git \ git \
python3-dev && \ 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 STOPSIGNAL SIGINT
USER map:map USER map:map
WORKDIR /opt/geoip-attack-map WORKDIR /opt/t-pot-attack-map
CMD /usr/bin/python3 $MAP_COMMAND CMD /usr/bin/python3 $MAP_COMMAND