Skip to content

Commit

Permalink
Merge pull request #288 from Dr-Lazarus-V2/patch-1
Browse files Browse the repository at this point in the history
Updated Nginx Dockerfile for MaximDB support
  • Loading branch information
fzipi authored Sep 19, 2024
2 parents c29d1ce + 915ce11 commit f132f01
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
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
2 changes: 1 addition & 1 deletion nginx/Dockerfile-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -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*

Expand Down
2 changes: 1 addition & 1 deletion openresty/Dockerfile-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -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*

Expand Down

0 comments on commit f132f01

Please sign in to comment.