19 lines
543 B
Docker
19 lines
543 B
Docker
FROM php:7.0-apache
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y unzip libicu-dev libapache2-mod-security2 modsecurity-crs
|
|
# RUN apt-get install -y libzip4 libzip-dev
|
|
|
|
# RUN docker-php-ext-install zip
|
|
RUN docker-php-ext-install mysqli
|
|
RUN docker-php-ext-install gettext
|
|
RUN docker-php-ext-install intl
|
|
# RUN docker-php-ext-install mbstring
|
|
|
|
RUN a2enmod headers
|
|
RUN a2enmod rewrite
|
|
|
|
RUN sed 's/SecRuleEngine DetectionOnly/SecRuleEngine On/' /etc/modsecurity/modsecurity.conf-recommended > /etc/modsecurity/modsecurity.conf
|
|
|
|
WORKDIR /var/www/html
|