diff --git a/12.0/apache/Dockerfile b/12.0/apache/Dockerfile index 77b8ef4..1459353 100644 --- a/12.0/apache/Dockerfile +++ b/12.0/apache/Dockerfile @@ -88,6 +88,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ + echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \ + \ mkdir /var/www/data; \ chown -R www-data:root /var/www; \ chmod -R g=u /var/www diff --git a/12.0/fpm-alpine/Dockerfile b/12.0/fpm-alpine/Dockerfile index 16e43ba..7cc1fcc 100644 --- a/12.0/fpm-alpine/Dockerfile +++ b/12.0/fpm-alpine/Dockerfile @@ -77,6 +77,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ + echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \ + \ mkdir /var/www/data; \ chown -R www-data:root /var/www; \ chmod -R g=u /var/www diff --git a/12.0/fpm/Dockerfile b/12.0/fpm/Dockerfile index 1ba8c1f..065d97c 100644 --- a/12.0/fpm/Dockerfile +++ b/12.0/fpm/Dockerfile @@ -88,6 +88,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ + echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \ + \ mkdir /var/www/data; \ chown -R www-data:root /var/www; \ chmod -R g=u /var/www diff --git a/13.0/apache/Dockerfile b/13.0/apache/Dockerfile index ace5fdf..d1a3783 100644 --- a/13.0/apache/Dockerfile +++ b/13.0/apache/Dockerfile @@ -88,6 +88,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ + echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \ + \ mkdir /var/www/data; \ chown -R www-data:root /var/www; \ chmod -R g=u /var/www diff --git a/13.0/fpm-alpine/Dockerfile b/13.0/fpm-alpine/Dockerfile index e6e8e71..019b1e1 100644 --- a/13.0/fpm-alpine/Dockerfile +++ b/13.0/fpm-alpine/Dockerfile @@ -77,6 +77,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ + echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \ + \ mkdir /var/www/data; \ chown -R www-data:root /var/www; \ chmod -R g=u /var/www diff --git a/13.0/fpm/Dockerfile b/13.0/fpm/Dockerfile index aff6fe0..107b560 100644 --- a/13.0/fpm/Dockerfile +++ b/13.0/fpm/Dockerfile @@ -88,6 +88,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ + echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \ + \ mkdir /var/www/data; \ chown -R www-data:root /var/www; \ chmod -R g=u /var/www diff --git a/14.0-beta/apache/Dockerfile b/14.0-beta/apache/Dockerfile index 81f6414..1d6b41f 100644 --- a/14.0-beta/apache/Dockerfile +++ b/14.0-beta/apache/Dockerfile @@ -88,6 +88,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ + echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \ + \ mkdir /var/www/data; \ chown -R www-data:root /var/www; \ chmod -R g=u /var/www diff --git a/14.0-beta/fpm-alpine/Dockerfile b/14.0-beta/fpm-alpine/Dockerfile index ff97e7a..a0ad145 100644 --- a/14.0-beta/fpm-alpine/Dockerfile +++ b/14.0-beta/fpm-alpine/Dockerfile @@ -77,6 +77,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ + echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \ + \ mkdir /var/www/data; \ chown -R www-data:root /var/www; \ chmod -R g=u /var/www diff --git a/14.0-beta/fpm/Dockerfile b/14.0-beta/fpm/Dockerfile index e434e76..6d4a511 100644 --- a/14.0-beta/fpm/Dockerfile +++ b/14.0-beta/fpm/Dockerfile @@ -88,6 +88,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ + echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \ + \ mkdir /var/www/data; \ chown -R www-data:root /var/www; \ chmod -R g=u /var/www diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index 6eabcf8..6a45317 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -76,6 +76,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ + echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \ + \ mkdir /var/www/data; \ chown -R www-data:root /var/www; \ chmod -R g=u /var/www diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index a11f62f..ca113a4 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -87,6 +87,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ + echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \ + \ mkdir /var/www/data; \ chown -R www-data:root /var/www; \ chmod -R g=u /var/www