diff --git a/7.4/alpine3.11/cli/Dockerfile b/7.4/alpine3.11/cli/Dockerfile index d52740020b..a883ff1f38 100644 --- a/7.4/alpine3.11/cli/Dockerfile +++ b/7.4/alpine3.11/cli/Dockerfile @@ -146,7 +146,6 @@ RUN set -eux; \ --with-zlib \ \ # in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") -# ... and are removed in PHP 8+; see also https://github.com/docker-library/php/pull/847#issuecomment-505638229 --with-pear \ \ # bundled pcre does not support JIT on s390x diff --git a/7.4/alpine3.11/fpm/Dockerfile b/7.4/alpine3.11/fpm/Dockerfile index d3eb4586e2..3fa1bf5dda 100644 --- a/7.4/alpine3.11/fpm/Dockerfile +++ b/7.4/alpine3.11/fpm/Dockerfile @@ -148,7 +148,6 @@ RUN set -eux; \ --with-zlib \ \ # in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") -# ... and are removed in PHP 8+; see also https://github.com/docker-library/php/pull/847#issuecomment-505638229 --with-pear \ \ # bundled pcre does not support JIT on s390x diff --git a/7.4/alpine3.11/zts/Dockerfile b/7.4/alpine3.11/zts/Dockerfile index 685174349c..e27b3940a8 100644 --- a/7.4/alpine3.11/zts/Dockerfile +++ b/7.4/alpine3.11/zts/Dockerfile @@ -148,7 +148,6 @@ RUN set -eux; \ --with-zlib \ \ # in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") -# ... and are removed in PHP 8+; see also https://github.com/docker-library/php/pull/847#issuecomment-505638229 --with-pear \ \ # bundled pcre does not support JIT on s390x diff --git a/7.4/alpine3.12/cli/Dockerfile b/7.4/alpine3.12/cli/Dockerfile index be10f37c68..0084e060e0 100644 --- a/7.4/alpine3.12/cli/Dockerfile +++ b/7.4/alpine3.12/cli/Dockerfile @@ -146,7 +146,6 @@ RUN set -eux; \ --with-zlib \ \ # in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") -# ... and are removed in PHP 8+; see also https://github.com/docker-library/php/pull/847#issuecomment-505638229 --with-pear \ \ # bundled pcre does not support JIT on s390x diff --git a/7.4/alpine3.12/fpm/Dockerfile b/7.4/alpine3.12/fpm/Dockerfile index e586052e29..85acc715e2 100644 --- a/7.4/alpine3.12/fpm/Dockerfile +++ b/7.4/alpine3.12/fpm/Dockerfile @@ -148,7 +148,6 @@ RUN set -eux; \ --with-zlib \ \ # in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") -# ... and are removed in PHP 8+; see also https://github.com/docker-library/php/pull/847#issuecomment-505638229 --with-pear \ \ # bundled pcre does not support JIT on s390x diff --git a/7.4/alpine3.12/zts/Dockerfile b/7.4/alpine3.12/zts/Dockerfile index 1886d9b8a6..b8948af20d 100644 --- a/7.4/alpine3.12/zts/Dockerfile +++ b/7.4/alpine3.12/zts/Dockerfile @@ -148,7 +148,6 @@ RUN set -eux; \ --with-zlib \ \ # in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") -# ... and are removed in PHP 8+; see also https://github.com/docker-library/php/pull/847#issuecomment-505638229 --with-pear \ \ # bundled pcre does not support JIT on s390x diff --git a/7.4/buster/apache/Dockerfile b/7.4/buster/apache/Dockerfile index eca0e8d89d..b722d3ca48 100644 --- a/7.4/buster/apache/Dockerfile +++ b/7.4/buster/apache/Dockerfile @@ -223,7 +223,6 @@ RUN set -eux; \ --with-zlib \ \ # in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") -# ... and are removed in PHP 8+; see also https://github.com/docker-library/php/pull/847#issuecomment-505638229 --with-pear \ \ # bundled pcre does not support JIT on s390x diff --git a/7.4/buster/cli/Dockerfile b/7.4/buster/cli/Dockerfile index e46bb58005..4f83c0bdfe 100644 --- a/7.4/buster/cli/Dockerfile +++ b/7.4/buster/cli/Dockerfile @@ -162,7 +162,6 @@ RUN set -eux; \ --with-zlib \ \ # in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") -# ... and are removed in PHP 8+; see also https://github.com/docker-library/php/pull/847#issuecomment-505638229 --with-pear \ \ # bundled pcre does not support JIT on s390x diff --git a/7.4/buster/fpm/Dockerfile b/7.4/buster/fpm/Dockerfile index c5c99b0553..d7809192e4 100644 --- a/7.4/buster/fpm/Dockerfile +++ b/7.4/buster/fpm/Dockerfile @@ -164,7 +164,6 @@ RUN set -eux; \ --with-zlib \ \ # in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") -# ... and are removed in PHP 8+; see also https://github.com/docker-library/php/pull/847#issuecomment-505638229 --with-pear \ \ # bundled pcre does not support JIT on s390x diff --git a/7.4/buster/zts/Dockerfile b/7.4/buster/zts/Dockerfile index 46f385c36d..3645f61cf6 100644 --- a/7.4/buster/zts/Dockerfile +++ b/7.4/buster/zts/Dockerfile @@ -164,7 +164,6 @@ RUN set -eux; \ --with-zlib \ \ # in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") -# ... and are removed in PHP 8+; see also https://github.com/docker-library/php/pull/847#issuecomment-505638229 --with-pear \ \ # bundled pcre does not support JIT on s390x diff --git a/8.0-rc/alpine3.12/cli/Dockerfile b/8.0-rc/alpine3.12/cli/Dockerfile index d57960803f..0d99a74ac6 100644 --- a/8.0-rc/alpine3.12/cli/Dockerfile +++ b/8.0-rc/alpine3.12/cli/Dockerfile @@ -145,6 +145,9 @@ RUN set -eux; \ --with-openssl \ --with-zlib \ \ +# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") + --with-pear \ + \ # bundled pcre does not support JIT on s390x # https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT $(test "$gnuArch" = 's390x-linux-musl' && echo '--without-pcre-jit') \ diff --git a/8.0-rc/alpine3.12/fpm/Dockerfile b/8.0-rc/alpine3.12/fpm/Dockerfile index 5f1388e56b..6d340fdb70 100644 --- a/8.0-rc/alpine3.12/fpm/Dockerfile +++ b/8.0-rc/alpine3.12/fpm/Dockerfile @@ -147,6 +147,9 @@ RUN set -eux; \ --with-openssl \ --with-zlib \ \ +# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") + --with-pear \ + \ # bundled pcre does not support JIT on s390x # https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT $(test "$gnuArch" = 's390x-linux-musl' && echo '--without-pcre-jit') \ diff --git a/8.0-rc/buster/apache/Dockerfile b/8.0-rc/buster/apache/Dockerfile index 0cafc94f3c..16b8802dbc 100644 --- a/8.0-rc/buster/apache/Dockerfile +++ b/8.0-rc/buster/apache/Dockerfile @@ -222,6 +222,9 @@ RUN set -eux; \ --with-openssl \ --with-zlib \ \ +# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") + --with-pear \ + \ # bundled pcre does not support JIT on s390x # https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ diff --git a/8.0-rc/buster/cli/Dockerfile b/8.0-rc/buster/cli/Dockerfile index 8d56ebd7a5..054d19a8cd 100644 --- a/8.0-rc/buster/cli/Dockerfile +++ b/8.0-rc/buster/cli/Dockerfile @@ -161,6 +161,9 @@ RUN set -eux; \ --with-openssl \ --with-zlib \ \ +# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") + --with-pear \ + \ # bundled pcre does not support JIT on s390x # https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ diff --git a/8.0-rc/buster/fpm/Dockerfile b/8.0-rc/buster/fpm/Dockerfile index 36464c1cb5..817f42e40f 100644 --- a/8.0-rc/buster/fpm/Dockerfile +++ b/8.0-rc/buster/fpm/Dockerfile @@ -163,6 +163,9 @@ RUN set -eux; \ --with-openssl \ --with-zlib \ \ +# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") + --with-pear \ + \ # bundled pcre does not support JIT on s390x # https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ diff --git a/8.0-rc/buster/zts/Dockerfile b/8.0-rc/buster/zts/Dockerfile index c6ed2cb7d1..eb882eb31d 100644 --- a/8.0-rc/buster/zts/Dockerfile +++ b/8.0-rc/buster/zts/Dockerfile @@ -163,6 +163,9 @@ RUN set -eux; \ --with-openssl \ --with-zlib \ \ +# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") + --with-pear \ + \ # bundled pcre does not support JIT on s390x # https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index 86a32ff83b..54d7ea16ae 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -155,9 +155,8 @@ RUN set -eux; \ --with-openssl \ --with-zlib \ \ -{{ if (.version | version_id) | . >= ("7.4" | version_id) and . < ("8" | version_id) then ( -}} +{{ if (.version | version_id) | . >= ("7.4" | version_id) then ( -}} # in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") -# ... and are removed in PHP 8+; see also https://github.com/docker-library/php/pull/847#issuecomment-505638229 --with-pear \ \ {{ ) else "" end -}} diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index df146ac4c3..87ea3c7443 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -184,9 +184,8 @@ RUN set -eux; \ --with-openssl \ --with-zlib \ \ -{{ if (.version | version_id) | . >= ("7.4" | version_id) and . < ("8" | version_id) then ( -}} +{{ if (.version | version_id) | . >= ("7.4" | version_id) then ( -}} # in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") -# ... and are removed in PHP 8+; see also https://github.com/docker-library/php/pull/847#issuecomment-505638229 --with-pear \ \ {{ ) else "" end -}}