🗃️ Committing everything that changed 🗃️
Some checks failed
release-tag / release-image (push) Failing after 1m43s

Dockerfile
rootfs/opt/echoip/html/index.html
rootfs/usr/local/etc/docker/bin/echoip-cli
rootfs/usr/local/etc/docker/init.d/zz-echoip.sh
This commit is contained in:
casjay
2025-06-11 12:40:34 -04:00
parent 748e52ad9b
commit cb8b97ae4d
4 changed files with 22 additions and 11 deletions

View File

@@ -138,6 +138,10 @@ RUN echo "Updating system files "; \
RUN echo "Custom Settings"; \
$SHELL_OPTS; \
wget "https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-ASN.mmdb" -O "/tmp/GeoLite2-ASN.mmdb" || rm -Rf "/tmp/GeoLite2-ASN.mmdb" \
wget "https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-City.mmdb" -O "/tmp/GeoLite2-City.mmdb" || rm -Rf "/tmp/GeoLite2-City.mmdb" \
wget "https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-Country.mmdb" -O "/tmp/GeoLite2-Country.mmdb" || rm -Rf "/tmp/GeoLite2-Country.mmdb" \
for mmdb in GeoLite2-ASN.mmdb GeoLite2-City.mmdb GeoLite2-Country.mmdb; do [ -f "/tmp/$mmdb" ] && mv -f "/tmp/$mmdb" "/opt/echoip/geoip/$mmdb"; done \
echo ""
RUN echo "Setting up users and scripts "; \