Browse Source

Dokerfile: set file name when downloading geoip tarball

Daniel-Constantin Mierla 7 years ago
parent
commit
126144fc6a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      docker/Dockerfile.centos7
  2. 1 1
      docker/Dockerfile.debian9

+ 1 - 1
docker/Dockerfile.centos7

@@ -36,7 +36,7 @@ RUN make install
 RUN mkdir -p /usr/local/src/data/GeoLite2
 RUN mkdir -p /usr/local/src/tmp
 WORKDIR /usr/local/src/tmp
-RUN wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
+RUN wget -O GeoLite2-City.tar.gz http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
 RUN tar xvfz GeoLite2-City.tar.gz
 RUN mv GeoLite2-City_*/*.* ../data/GeoLite2/
 WORKDIR /usr/local/src

+ 1 - 1
docker/Dockerfile.debian9

@@ -79,7 +79,7 @@ RUN make install
 RUN mkdir -p /usr/local/src/data/GeoLite2
 RUN mkdir -p /usr/local/src/tmp
 WORKDIR /usr/local/src/tmp
-RUN wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
+RUN wget -O GeoLite2-City.tar.gz http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
 RUN tar xvfz GeoLite2-City.tar.gz
 RUN mv GeoLite2-City_*/*.* ../data/GeoLite2/
 WORKDIR /usr/local/src