diff --git a/nginx/Dockerfile b/nginx/Dockerfile index c3925a8..9cb1e8a 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -27,6 +27,7 @@ RUN set -eux; \ libpcre2-dev \ libtool \ libxml2-dev \ + libmaxminddb-dev \ libyajl-dev \ make \ patch \ @@ -50,7 +51,7 @@ RUN set -eux; \ sed -ie "s/i386-linux-gnu/${ARCH}/g" build/ssdeep.m4; \ sed -ie "s/i386-linux-gnu/${ARCH}/g" build/pcre2.m4; \ ./build.sh; \ - ./configure --with-yajl --with-ssdeep --with-geoip --with-pcre2 --enable-silent-rules; \ + ./configure --with-yajl --with-ssdeep --with-geoip --with-pcre2 --with-maxmind --enable-silent-rules; \ make install; \ strip /usr/local/modsecurity/lib/lib*.so* @@ -222,6 +223,7 @@ RUN set -eux; \ ${LUA_MODULES} \ libxml2 \ libyajl2 \ + libmaxminddb-dev \ moreutils; \ rm -rf /var/lib/apt/lists/*; \ apt-get clean; \ diff --git a/nginx/Dockerfile-alpine b/nginx/Dockerfile-alpine index 47cb4bc..42fef64 100644 --- a/nginx/Dockerfile-alpine +++ b/nginx/Dockerfile-alpine @@ -48,7 +48,7 @@ RUN set -eux; \ sed -ie "s/i386-linux-gnu/${ARCH}/g" build/ssdeep.m4; \ sed -ie "s/i386-linux-gnu/${ARCH}/g" build/pcre2.m4; \ ./build.sh; \ - ./configure --with-yajl --with-ssdeep --with-lmdb --with-geoip --with-pcre2 --enable-silent-rules; \ + ./configure --with-yajl --with-ssdeep --with-lmdb --with-geoip --with-pcre2 --with-maxmind --enable-silent-rules; \ make install; \ strip /usr/local/modsecurity/lib/lib*.so* diff --git a/openresty/Dockerfile-alpine b/openresty/Dockerfile-alpine index d4ad912..b0f682d 100644 --- a/openresty/Dockerfile-alpine +++ b/openresty/Dockerfile-alpine @@ -53,7 +53,7 @@ RUN set -eux; \ sed -ie "s/i386-linux-gnu/${ARCH}/g" build/ssdeep.m4; \ sed -ie "s/i386-linux-gnu/${ARCH}/g" build/pcre2.m4; \ ./build.sh; \ - ./configure --with-yajl --with-ssdeep --with-lmdb --with-geoip --enable-silent-rules --with-pcre2; \ + ./configure --with-yajl --with-ssdeep --with-lmdb --with-geoip --enable-silent-rules --with-pcre2 --with-maxmind; \ make install; \ strip /usr/local/modsecurity/lib/lib*.so*