mirror of
https://github.com/docker-library/php.git
synced 2025-07-24 12:19:38 +00:00
Keep "pecl update-channels" for 8.0 also
This commit is contained in:
4
8.0/alpine3.12/cli/Dockerfile
generated
4
8.0/alpine3.12/cli/Dockerfile
generated
@ -176,6 +176,10 @@ RUN set -eux; \
|
||||
\
|
||||
apk del --no-network .build-deps; \
|
||||
\
|
||||
# update pecl channel definitions https://github.com/docker-library/php/issues/443
|
||||
pecl update-channels; \
|
||||
rm -rf /tmp/pear ~/.pearrc; \
|
||||
\
|
||||
# smoke test
|
||||
php --version
|
||||
|
||||
|
4
8.0/alpine3.12/fpm/Dockerfile
generated
4
8.0/alpine3.12/fpm/Dockerfile
generated
@ -178,6 +178,10 @@ RUN set -eux; \
|
||||
\
|
||||
apk del --no-network .build-deps; \
|
||||
\
|
||||
# update pecl channel definitions https://github.com/docker-library/php/issues/443
|
||||
pecl update-channels; \
|
||||
rm -rf /tmp/pear ~/.pearrc; \
|
||||
\
|
||||
# smoke test
|
||||
php --version
|
||||
|
||||
|
4
8.0/buster/apache/Dockerfile
generated
4
8.0/buster/apache/Dockerfile
generated
@ -257,6 +257,10 @@ RUN set -eux; \
|
||||
; \
|
||||
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
|
||||
\
|
||||
# update pecl channel definitions https://github.com/docker-library/php/issues/443
|
||||
pecl update-channels; \
|
||||
rm -rf /tmp/pear ~/.pearrc; \
|
||||
\
|
||||
# smoke test
|
||||
php --version
|
||||
|
||||
|
4
8.0/buster/cli/Dockerfile
generated
4
8.0/buster/cli/Dockerfile
generated
@ -196,6 +196,10 @@ RUN set -eux; \
|
||||
; \
|
||||
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
|
||||
\
|
||||
# update pecl channel definitions https://github.com/docker-library/php/issues/443
|
||||
pecl update-channels; \
|
||||
rm -rf /tmp/pear ~/.pearrc; \
|
||||
\
|
||||
# smoke test
|
||||
php --version
|
||||
|
||||
|
4
8.0/buster/fpm/Dockerfile
generated
4
8.0/buster/fpm/Dockerfile
generated
@ -198,6 +198,10 @@ RUN set -eux; \
|
||||
; \
|
||||
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
|
||||
\
|
||||
# update pecl channel definitions https://github.com/docker-library/php/issues/443
|
||||
pecl update-channels; \
|
||||
rm -rf /tmp/pear ~/.pearrc; \
|
||||
\
|
||||
# smoke test
|
||||
php --version
|
||||
|
||||
|
4
8.0/buster/zts/Dockerfile
generated
4
8.0/buster/zts/Dockerfile
generated
@ -198,6 +198,10 @@ RUN set -eux; \
|
||||
; \
|
||||
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
|
||||
\
|
||||
# update pecl channel definitions https://github.com/docker-library/php/issues/443
|
||||
pecl update-channels; \
|
||||
rm -rf /tmp/pear ~/.pearrc; \
|
||||
\
|
||||
# smoke test
|
||||
php --version
|
||||
|
||||
|
@ -188,12 +188,10 @@ RUN set -eux; \
|
||||
\
|
||||
apk del --no-network .build-deps; \
|
||||
\
|
||||
{{ if (.version | version_id) < ("8" | version_id) then ( -}}
|
||||
# update pecl channel definitions https://github.com/docker-library/php/issues/443
|
||||
pecl update-channels; \
|
||||
rm -rf /tmp/pear ~/.pearrc; \
|
||||
\
|
||||
{{ ) else "" end -}}
|
||||
# smoke test
|
||||
php --version
|
||||
|
||||
|
@ -221,12 +221,10 @@ RUN set -eux; \
|
||||
; \
|
||||
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
|
||||
\
|
||||
{{ if (.version | version_id) < ("8" | version_id) then ( -}}
|
||||
# update pecl channel definitions https://github.com/docker-library/php/issues/443
|
||||
pecl update-channels; \
|
||||
rm -rf /tmp/pear ~/.pearrc; \
|
||||
\
|
||||
{{ ) else "" end -}}
|
||||
# smoke test
|
||||
php --version
|
||||
|
||||
|
Reference in New Issue
Block a user