Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Removed geo-ip flag and library to ensure proper functionality based upon "nginx -s reload" based on Issue 2041 (Modsecurity)
  • Loading branch information
Dr-Lazarus-V2 authored Sep 27, 2024
1 parent 443a1a7 commit 1028ff1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ RUN set -eux; \
git \
libcurl4-gnutls-dev \
libfuzzy-dev \
libgeoip-dev \
liblua${LUA_VERSION}-dev \
libpcre3-dev \
libpcre2-dev \
Expand Down Expand Up @@ -51,7 +50,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 --with-maxmind --enable-silent-rules; \
./configure --with-yajl --with-ssdeep --with-pcre2 --with-maxmind --enable-silent-rules; \
make install; \
strip /usr/local/modsecurity/lib/lib*.so*

Expand Down

0 comments on commit 1028ff1

Please sign in to comment.