Skip to content

Commit

Permalink
remove modsecurity coreruleset test files from nginx image (#11617)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeZ authored Jul 16, 2024
1 parent a6727d8 commit 6de1846
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion images/nginx-1.25/rootfs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ for dir in "${writeDirs[@]}"; do
done

rm -rf /etc/nginx/owasp-modsecurity-crs/.git
rm -rf /etc/nginx/owasp-modsecurity-crs/util/regression-tests
rm -rf /etc/nginx/owasp-modsecurity-crs/tests

# remove .a files
find /usr/local -name "*.a" -print | xargs /bin/rm
2 changes: 1 addition & 1 deletion images/nginx/rootfs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ for dir in "${writeDirs[@]}"; do
done

rm -rf /etc/nginx/owasp-modsecurity-crs/.git
rm -rf /etc/nginx/owasp-modsecurity-crs/util/regression-tests
rm -rf /etc/nginx/owasp-modsecurity-crs/tests

# remove .a files
find /usr/local -name "*.a" -print | xargs /bin/rm

0 comments on commit 6de1846

Please sign in to comment.