Skip to content

Commit

Permalink
feat(apache): switch to pcre2
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Zipitria <[email protected]>
  • Loading branch information
fzipi committed Mar 17, 2024
1 parent 374f685 commit e031f13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions apache/Dockerfile-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ RUN set -eux; \
make \
openssl \
openssl-dev \
pcre-dev \
pcre2-dev \
zlib-dev

RUN set -eux; \
wget --quiet https://github.com/owasp-modsecurity/ModSecurity/archive/refs/tags/v${MODSEC2_VERSION}.tar.gz; \
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
Expand Down

0 comments on commit e031f13

Please sign in to comment.