diff --git a/apache/Dockerfile b/apache/Dockerfile index f30289f..a258e4b 100644 --- a/apache/Dockerfile +++ b/apache/Dockerfile @@ -31,7 +31,7 @@ RUN set -eux; \ tar -zxvf v${MODSEC2_VERSION}.tar.gz; \ cd ModSecurity-${MODSEC2_VERSION}; \ ./autogen.sh; \ - ./configure --with-yajl --with-ssdeep; \ + ./configure --with-yajl --with-ssdeep --with-pcre2; \ make; \ make install; \ make clean diff --git a/apache/Dockerfile-alpine b/apache/Dockerfile-alpine index c52958f..3888ce1 100644 --- a/apache/Dockerfile-alpine +++ b/apache/Dockerfile-alpine @@ -33,7 +33,7 @@ RUN set -eux; \ make \ openssl \ openssl-dev \ - pcre-dev \ + pcre2-dev \ zlib-dev RUN set -eux; \ @@ -41,7 +41,7 @@ RUN set -eux; \ tar -zxvf v${MODSEC2_VERSION}.tar.gz; \ cd ModSecurity-${MODSEC2_VERSION}; \ ./autogen.sh; \ - ./configure --with-yajl --with-ssdeep --with-lmdb; \ + ./configure --with-yajl --with-ssdeep --with-lmdb --with-pcre2; \ make; \ make install; \ make clean