This commit is contained in:
parent
b708ab3cdd
commit
43bba4fac9
1 changed files with 1 additions and 3 deletions
|
@ -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 - \
|
||||
|
|
Loading…
Reference in a new issue