Skip to content

Commit 500d40a

Browse files
authored
run strip -s on libmodsec
Signed-off-by: Zoey <[email protected]>
1 parent 6206bc5 commit 500d40a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ RUN git clone --recursive https://github.com/SpiderLabs/ModSecurity /src/ModSecu
1919
/src/ModSecurity/build.sh && \
2020
/src/ModSecurity/configure && \
2121
make -j "$(nproc)" && \
22-
make -j "$(nproc)" install
22+
make -j "$(nproc)" install && \
23+
strip -s /usr/local/modsecurity/lib/libmodsecurity.so.3
2324
# Nginx
2425
RUN hg clone https://hg.nginx.org/nginx-quic -r "quic" /src/nginx && \
2526
wget https://raw.githubusercontent.com/nginx-modules/ngx_http_tls_dyn_size/master/nginx__dynamic_tls_records_1.17.7%2B.patch -O /src/nginx/1.patch && \

0 commit comments

Comments
 (0)