This repository was archived by the owner on Mar 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ EXTRACT_CONTAINER_NAME=modsecurity-wasm-filter-static-extract
5
5
build-wasm-plugin-static :
6
6
sed -i ' s/envoy-wasm-modsecurity-dynamic/envoy-wasm-modsecurity/' ../wasmplugin/Dockerfile
7
7
sed -i ' s/envoy-wasm-modsecurity-dynamic/envoy-wasm-modsecurity/' ../wasmplugin/Makefile
8
- docker build --platform linux/amd64 -t $(IMAGE_NAME ) :$(IMAGE_VERSION ) -f ../wasmplugin/Dockerfile ../wasmplugin
8
+ docker build --platform linux/amd64 -t $(IMAGE_NAME ) :$(IMAGE_VERSION ) -f ../wasmplugin/Dockerfile ../wasmplugin --build-arg MODSEC_SHA=a3454df9b09a8de16d41be10cdea4fc46ef08e91
9
9
# Go back to old state
10
10
cd ../wasmplugin; git checkout .
11
11
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
+ ARG MODSEC_SHA=a3454df9b09a8de16d41be10cdea4fc46ef08e91
33
+
32
34
WORKDIR /root/
33
35
RUN git clone https://github.com/emscripten-core/emsdk.git -b 3.1.8 \
34
36
&& 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 \
37
+ && git clone https://github.com/SpiderLabs/ModSecurity.git \
38
+ && cd ModSecurity \
39
+ && git 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
You can’t perform that action at this time.
0 commit comments