Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Added maximDB support to dockerfile for OWASP CRS 4.5 Nginx Image
  • Loading branch information
Dr-Lazarus-V2 authored Sep 17, 2024
1 parent c29d1ce commit 7ea995b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ RUN set -eux; \
libpcre2-dev \
libtool \
libxml2-dev \
libmaxminddb-dev \
libyajl-dev \
make \
patch \
Expand All @@ -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*

Expand Down Expand Up @@ -222,6 +223,7 @@ RUN set -eux; \
${LUA_MODULES} \
libxml2 \
libyajl2 \
libmaxminddb-dev \
moreutils; \
rm -rf /var/lib/apt/lists/*; \
apt-get clean; \
Expand Down

0 comments on commit 7ea995b

Please sign in to comment.