Verified Commit 23f57047 authored by tr's avatar tr
Browse files

Include optional dependencies of ModSecurity

parent 538f696b
Pipeline #4814 failed with stages
in 15 minutes and 36 seconds
......@@ -17,7 +17,8 @@ ENV LC_ALL C
# Build modsecurity
ENV MODSECURITY_VERSION 3.0.4
RUN sudo dnf install -y libcurl-devel libxml2-devel pcre-devel && \
RUN sudo dnf install -y pcre-devel && \
sudo dnf install -y libcurl-devel libxml2-devel geoip-devel yajl-devel ssdeep-devel lua-devel && \
sudo rm -rf /var/cache/* /var/log/*
RUN curl -L https://github.com/SpiderLabs/ModSecurity/releases/download/v$MODSECURITY_VERSION/modsecurity-v$MODSECURITY_VERSION.tar.gz \
......@@ -63,7 +64,7 @@ ENV CORERULESET 3.3.0
RUN cd /usr/local/src && \
dnf update -y && \
dnf install -y nginx && \
dnf install -y nginx yajl lua && \
rm -rf /var/cache/* /var/log/*
# Copy modsecurity
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment