mirror of
https://github.com/docker-library/php.git
synced 2025-08-12 02:36:20 +00:00
Update templates.
This commit is contained in:
@ -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 -}}
|
||||
|
@ -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 -}}
|
||||
|
Reference in New Issue
Block a user