Verified Commit 19526c56 authored by tr's avatar tr
Browse files

Update ModSecurity

parent 95a3f8ad
Pipeline #8335 passed with stages
in 23 minutes and 4 seconds
......@@ -16,7 +16,7 @@ WORKDIR /home/user
ENV LC_ALL C
# Build modsecurity
ENV MODSECURITY_VERSION 3.0.4
ENV MODSECURITY_VERSION 3.0.5
RUN sudo dnf install -y pcre-devel && \
sudo dnf install -y libcurl-devel libxml2-devel geoip-devel yajl-devel ssdeep-devel lua-devel && \
......@@ -33,7 +33,7 @@ RUN cd /usr/local/src/modsecurity-v$MODSECURITY_VERSION && \
sudo make install
# Build modsecurity-nginx
ENV MODSECURITY_NGINX_VERSION 1.0.1
ENV MODSECURITY_NGINX_VERSION 1.0.2
RUN curl -L https://github.com/SpiderLabs/ModSecurity-nginx/releases/download/v$MODSECURITY_NGINX_VERSION/modsecurity-nginx-v$MODSECURITY_NGINX_VERSION.tar.gz \
-o /usr/local/src/modsecurity-nginx.tar.gz && \
......@@ -59,9 +59,9 @@ RUN cd /usr/local/src && \
FROM docker.io/centos:8
ENV MODSECURITY_VERSION 3.0.4
ENV MODSECURITY_NGINX_VERSION 1.0.1
ENV CORERULESET 3.3.0
ENV MODSECURITY_VERSION 3.0.5
ENV MODSECURITY_NGINX_VERSION 1.0.2
ENV CORERULESET 3.3.2
RUN cd /usr/local/src && \
dnf update -y && \
......
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