From e031f13040844ec09302bb07b4de914fdcd26cea Mon Sep 17 00:00:00 2001 From: Felipe Zipitria Date: Sun, 17 Mar 2024 10:18:00 -0300 Subject: [PATCH] feat(apache): switch to pcre2 Signed-off-by: Felipe Zipitria --- apache/Dockerfile | 2 +- apache/Dockerfile-alpine | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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