anchor.diff:  MAINTAINER dan78uk
   
   # Install required dependencies
  -RUN yum -y groups mark convert
  -RUN yum clean all && yum -y swap fakesystemd systemd
  -RUN yum -y groupinstall 'Development Tools' && yum -y clean all
  -RUN yum -y install gcc-c++ pcre-dev pcre-devel zlib-devel make unzip httpd-devel libxml2 libxml2-devel wget openssl-devel && yum -y clean all
  +RUN yum -y groups mark convert \
  +    && yum clean all && yum -y swap fakesystemd systemd \
  +    && yum -y groupinstall 'Development Tools' && yum -y clean all \
  +    && yum -y install gcc-c++ pcre-dev pcre-devel zlib-devel make unzip httpd-devel libxml2 libxml2-devel wget openssl-devel \
  +    && yum -y clean all
   
   # Set working dir
   ENV WORKING_DIRECTORY=/opt/nginx_mod_security
  
positive.code:     && cd nginx-${NGINX_VERSION}/ \
      && ./configure $NGINX_ADD_MODULES $NGINX_EXTRA_MODULES \
      && make \
      && make install
  
  # Link nginx and clean solution
  RUN ln -s /usr/local/nginx/sbin/nginx /usr/bin/nginx
  RUN cp /usr/local/nginx/conf/*.* /etc/nginx/
  WORKDIR /etc/nginx
  RUN rm -rf $WORKING_DIRECTORY
  RUN yum -y groupremove "Development tools"
  RUN yum -y clean headers
  RUN yum -y clean packages
  
  # Check Nginx installation
  RUN nginx -V
  
  # Enable basic configurations and import of external configurations
  RUN yum -y install openssl && yum -y clean all
  RUN rm -rf /etc/nginx/conf.d/*; \
      mkdir -p /etc/nginx/external
  RUN sed -i 's/access_log.*/access_log \/dev\/stdout;/g' /etc/nginx/nginx.conf; \
      sed -i 's/error_log.*/error_log \/dev\/stdout info;/g' /etc/nginx/nginx.conf;
  
negative.code:     && cat ${CRS_DIR}/modsecurity_crs_10_setup.conf.example >> /etc/nginx/modsecurity.conf \
      && cat ${CRS_DIR}/base_rules/modsecurity_*.conf >> /etc/nginx/modsecurity.conf \
      && cp ${CRS_DIR}/base_rules/*.data /etc/nginx/ \
      && cp ModSecurity/unicode.mapping /etc/nginx/unicode.mapping \
      && rm -rf ${CRS_DIR} *.tar.gz
  
  # Compile Nginx
  RUN wget http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz \
  