From 43bba4fac9bc308ff4700b4db11b4df08d01a455 Mon Sep 17 00:00:00 2001 From: Tine Date: Sun, 18 Aug 2024 14:30:09 +0200 Subject: [PATCH] feat: nginx with geoip2 --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 - \