diff --git a/Dockerfile b/Dockerfile index 96fdbef..c8cac82 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,4 @@ ARG NGINX_VERSION=1.27.1 -ARG GEOIP2_VERSION=3.4 - -# Build FROM nginx:$NGINX_VERSION AS build RUN mkdir -p /var/lib/GeoIP/ @@ -16,6 +13,7 @@ RUN apt-get update \ wget \ git +ARG GEOIP2_VERSION=3.4 RUN cd /opt \ && git clone --depth 1 -b $GEOIP2_VERSION --single-branch https://github.com/leev/ngx_http_geoip2_module.git \ && wget -O - http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz | tar zxfv - \