diff --git a/apache/Dockerfile b/apache/Dockerfile index d4b05d9..175831f 100644 --- a/apache/Dockerfile +++ b/apache/Dockerfile @@ -17,7 +17,7 @@ RUN set -eux; \ libaprutil1-dev \ libcurl4-gnutls-dev \ libfuzzy-dev \ - libpcre3-dev \ + libpcre2-dev \ libtool \ libxml2-dev \ libyajl-dev \ @@ -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 @@ -174,6 +174,7 @@ RUN set -eux; \ libfuzzy2 \ liblua${LUA_VERSION} \ ${LUA_MODULES} \ + libpcre2 \ libxml2 \ libyajl2; \ update-ca-certificates -f; \ diff --git a/apache/Dockerfile-alpine b/apache/Dockerfile-alpine index 29225de..e63993a 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