-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Dockerfile is unable to create the image with modsecurity #735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @Ziemowit ! This looks like a bug in modsecurity module packaging, with regards to wrong build dependencies. I'll work on fixing it. Thank you! |
As a temporary workaround you can apply a following patch:
|
For what it's worth, the underlying issue is fixed in the current master branch in modsecurity: owasp-modsecurity/ModSecurity@791964a So upgrading modsecurity to when they release a new version will automatically fix that for us too without the need of the aforementioned workaround. |
Thank you for a quick action! |
Ok, so to finish installation of modsec after successful build as I understand I need to provide my own files:
with
Am I correct? |
Hi @Ziemowit, yes that's correct. |
sed -i 's/libparse-recdescent-perl \/libparse-recdescent-perl libpcre3-dev \/' Dockerfile ps. yes, I know. but it ain't stupid if it works |
When trying to build the nginx image with modsecurity I am getting:
Should I change something in provided Dockerfile to make it work? Or it is an issue?
The text was updated successfully, but these errors were encountered: