Update templates.

This commit is contained in:
James Sansbury
2020-11-24 09:31:47 -05:00
parent 0fdd2f0fc4
commit 03a9fae331
2 changed files with 2 additions and 4 deletions

View File

@ -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 -}}

View File

@ -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 -}}