Skip to content

Commit 90f9530

Browse files
committed
remove pcre2 dependency
1 parent 56e0c63 commit 90f9530

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Diff for: docker/Dockerfile

+2-4
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ RUN apt-get update \
2323
autoconf \
2424
automake \
2525
libtool \
26-
libpcre2-dev \
27-
libpcre2-posix3 \
2826
wget \
2927
zlib1g-dev \
3028
git \
@@ -105,11 +103,11 @@ ENV SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt \
105103

106104
# Install openresty, lua, csr, then clean up file system
107105
RUN apt-get update \
108-
&& apt-get install -y build-essential gcc make socat git autoconf automake libtool libpcre2-dev \
106+
&& apt-get install -y build-essential gcc make socat git autoconf automake libtool \
109107
&& /tmp/install-lua \
110108
&& /tmp/install-crs \
111109
&& /tmp/install-openresty \
112-
&& apt-get remove -y build-essential gcc make git wget gettext autoconf automake libtool libpcre2-dev \
110+
&& apt-get remove -y build-essential gcc make git wget gettext autoconf automake libtool \
113111
&& apt-get autoremove -y \
114112
&& apt-get clean \
115113
&& rm -rf /var/lib/apt/lists/* \

Diff for: scripts/build-modsecurity

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ git clone --recursive --branch v${LIBMODSECURITY_VERSION} https://github.com/owa
1313
cd /tmp/modsecurity
1414

1515
./build.sh
16-
./configure --with-pcre2
16+
./configure
1717

1818
make -j$(nproc)
1919
make install

0 commit comments

Comments
 (0)