GeoIP data in a folder suitable for php to slurp
100K+
FROM busybox
RUN mkdir /usr/share/GeoIP; \
cd /usr/share/GeoIP; \
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz && \
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz && \
/bin/gunzip GeoIP.dat.gz && \
/bin/gunzip GeoLiteCity.dat.gz && \
mv GeoLiteCity.dat GeoIPCity.dat
# Expose the Geo Data so other containers can use it
VOLUME ["/usr/share/GeoIP"]
Content type
Image
Digest
Size
14.6 MB
Last updated
over 7 years ago
docker pull peopleperhour/geodata