Skip to content

Commit

Permalink
remove modsecurity coreruleset test files from nginx image
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeZ committed Jul 16, 2024
1 parent a6727d8 commit 332e017
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 332e017

Please sign in to comment.