This repository was archived by the owner on Mar 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,14 @@ RUN git clone -b v3.9.1 https://github.com/protocolbuffers/protobuf \
2929 && cd .. \
3030 && rm -rf protobuf
3131
32+ # Commit from SpiderLabs/ModSecurity repository, aiming at v3/dev/wasm-experimental branch
33+ ARG MODSEC_SHA=a3454df9b09a8de16d41be10cdea4fc46ef08e91
34+
3235WORKDIR /root/
3336RUN git clone https://github.com/emscripten-core/emsdk.git -b 3.1.15 \
3437 && git clone https://github.com/maxfierke/libpcre.git -b mf-wasm32-wasi-cross-compile \
35- && git clone https://github.com/SpiderLabs/ModSecurity.git -b v3/dev/wasm-experimental \
38+ && git clone https://github.com/SpiderLabs/ModSecurity.git \
39+ && git -C ModSecurity checkout $MODSEC_SHA \
3640 && git clone https://github.com/abseil/abseil-cpp -b 20211102.0 \
3741 && git clone https://github.com/proxy-wasm/proxy-wasm-cpp-sdk \
3842 && git clone https://github.com/istio/proxy.git -b 1.13.3
@@ -67,7 +71,7 @@ RUN ./build.sh \
6771 && emconfigure ./configure --without-yajl --without-geoip --without-libxml --without-curl \
6872 --without-lua --disable-shared --disable-examples --disable-libtool-lock \
6973 --disable-debug-logs --disable-mutex-on-pm --without-lmdb --without-maxmind \
70- --without-ssdeep --with-pcre=./pcre-config \
74+ --without-ssdeep --without-pcre2 -- with-pcre=./pcre-config \
7175 && emmake make -j 4 \
7276 && emmake make install \
7377 && cd ..
You can’t perform that action at this time.
0 commit comments