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 \
29
29
&& cd .. \
30
30
&& rm -rf protobuf
31
31
32
+ # Commit from SpiderLabs/ModSecurity repository, aiming at v3/dev/wasm-experimental branch
33
+ ARG MODSEC_SHA=a3454df9b09a8de16d41be10cdea4fc46ef08e91
34
+
32
35
WORKDIR /root/
33
36
RUN git clone https://github.com/emscripten-core/emsdk.git -b 3.1.15 \
34
37
&& 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 \
36
40
&& git clone https://github.com/abseil/abseil-cpp -b 20211102.0 \
37
41
&& git clone https://github.com/proxy-wasm/proxy-wasm-cpp-sdk \
38
42
&& git clone https://github.com/istio/proxy.git -b 1.13.3
@@ -67,7 +71,7 @@ RUN ./build.sh \
67
71
&& emconfigure ./configure --without-yajl --without-geoip --without-libxml --without-curl \
68
72
--without-lua --disable-shared --disable-examples --disable-libtool-lock \
69
73
--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 \
71
75
&& emmake make -j 4 \
72
76
&& emmake make install \
73
77
&& cd ..
You can’t perform that action at this time.
0 commit comments