diff --git a/8.0/alpine3.16/fpm/Dockerfile b/8.0/alpine3.16/fpm/Dockerfile index aa40bf88d..a436028c4 100644 --- a/8.0/alpine3.16/fpm/Dockerfile +++ b/8.0/alpine3.16/fpm/Dockerfile @@ -209,6 +209,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \ diff --git a/8.0/bullseye/fpm/Dockerfile b/8.0/bullseye/fpm/Dockerfile index 302759132..f1f72941d 100644 --- a/8.0/bullseye/fpm/Dockerfile +++ b/8.0/bullseye/fpm/Dockerfile @@ -224,6 +224,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \ diff --git a/8.0/buster/fpm/Dockerfile b/8.0/buster/fpm/Dockerfile index 9247f9407..718f60a2d 100644 --- a/8.0/buster/fpm/Dockerfile +++ b/8.0/buster/fpm/Dockerfile @@ -224,6 +224,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \ diff --git a/8.1/alpine3.16/fpm/Dockerfile b/8.1/alpine3.16/fpm/Dockerfile index 773abd803..9a394a685 100644 --- a/8.1/alpine3.16/fpm/Dockerfile +++ b/8.1/alpine3.16/fpm/Dockerfile @@ -209,6 +209,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \ diff --git a/8.1/alpine3.17/fpm/Dockerfile b/8.1/alpine3.17/fpm/Dockerfile index 4f5b10c87..2aa6bb0a1 100644 --- a/8.1/alpine3.17/fpm/Dockerfile +++ b/8.1/alpine3.17/fpm/Dockerfile @@ -209,6 +209,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \ diff --git a/8.1/alpine3.18/fpm/Dockerfile b/8.1/alpine3.18/fpm/Dockerfile index 8e36343ee..12d7ce21a 100644 --- a/8.1/alpine3.18/fpm/Dockerfile +++ b/8.1/alpine3.18/fpm/Dockerfile @@ -209,6 +209,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \ diff --git a/8.1/bookworm/fpm/Dockerfile b/8.1/bookworm/fpm/Dockerfile index 36f9e9c57..2c991a38d 100644 --- a/8.1/bookworm/fpm/Dockerfile +++ b/8.1/bookworm/fpm/Dockerfile @@ -224,6 +224,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \ diff --git a/8.1/bullseye/fpm/Dockerfile b/8.1/bullseye/fpm/Dockerfile index 281449456..4f3fd39fa 100644 --- a/8.1/bullseye/fpm/Dockerfile +++ b/8.1/bullseye/fpm/Dockerfile @@ -224,6 +224,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \ diff --git a/8.2/alpine3.17/fpm/Dockerfile b/8.2/alpine3.17/fpm/Dockerfile index 9155592a6..ef814c1b4 100644 --- a/8.2/alpine3.17/fpm/Dockerfile +++ b/8.2/alpine3.17/fpm/Dockerfile @@ -209,6 +209,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \ diff --git a/8.2/alpine3.18/fpm/Dockerfile b/8.2/alpine3.18/fpm/Dockerfile index 93f9a8522..2603cf3ed 100644 --- a/8.2/alpine3.18/fpm/Dockerfile +++ b/8.2/alpine3.18/fpm/Dockerfile @@ -209,6 +209,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \ diff --git a/8.2/bookworm/fpm/Dockerfile b/8.2/bookworm/fpm/Dockerfile index ddf46246e..4da55b75c 100644 --- a/8.2/bookworm/fpm/Dockerfile +++ b/8.2/bookworm/fpm/Dockerfile @@ -224,6 +224,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \ diff --git a/8.2/bullseye/fpm/Dockerfile b/8.2/bullseye/fpm/Dockerfile index c0114ea11..a72e33e8d 100644 --- a/8.2/bullseye/fpm/Dockerfile +++ b/8.2/bullseye/fpm/Dockerfile @@ -224,6 +224,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \ diff --git a/8.3/alpine3.17/fpm/Dockerfile b/8.3/alpine3.17/fpm/Dockerfile index 6a2e6564d..94173f63a 100644 --- a/8.3/alpine3.17/fpm/Dockerfile +++ b/8.3/alpine3.17/fpm/Dockerfile @@ -209,6 +209,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \ diff --git a/8.3/alpine3.18/fpm/Dockerfile b/8.3/alpine3.18/fpm/Dockerfile index 570216c23..6c6f12e3a 100644 --- a/8.3/alpine3.18/fpm/Dockerfile +++ b/8.3/alpine3.18/fpm/Dockerfile @@ -209,6 +209,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \ diff --git a/8.3/bookworm/fpm/Dockerfile b/8.3/bookworm/fpm/Dockerfile index 50c88e31d..c5666ecfe 100644 --- a/8.3/bookworm/fpm/Dockerfile +++ b/8.3/bookworm/fpm/Dockerfile @@ -224,6 +224,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \ diff --git a/8.3/bullseye/fpm/Dockerfile b/8.3/bullseye/fpm/Dockerfile index fc31be75c..8142b206b 100644 --- a/8.3/bullseye/fpm/Dockerfile +++ b/8.3/bullseye/fpm/Dockerfile @@ -224,6 +224,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \ diff --git a/Dockerfile-linux.template b/Dockerfile-linux.template index 17fc812ad..33b0bf794 100644 --- a/Dockerfile-linux.template +++ b/Dockerfile-linux.template @@ -457,6 +457,7 @@ WORKDIR /var/www/html EXPOSE 80 {{ ) elif env.variant == "fpm" then ( -}} WORKDIR /var/www/html +ENV PHP_FPM_DIR /usr/local/etc/php-fpm.d RUN set -eux; \ cd /usr/local/etc; \