diff --git a/Dockerfile b/Dockerfile index c0b8359..11e7bf5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,9 @@ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/do RUN chmod +x /usr/local/bin/install-php-extensions +# PEAR < 1.10.18 can't read pecl.php.net responses anymore. +RUN pear upgrade --force https://pear.php.net/get/PEAR-1.10.18.tgz + RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ && DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \ curl \ diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 9fddb5c..5fa4e50 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -6,6 +6,9 @@ LABEL maintainer="dev@chialab.io" ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ RUN chmod +x /usr/local/bin/install-php-extensions +# PEAR < 1.10.18 can't read pecl.php.net responses anymore. +RUN pear upgrade --force https://pear.php.net/get/PEAR-1.10.18.tgz + RUN apk add --no-cache \ coreutils \ curl \ diff --git a/compat/Dockerfile.5.6 b/compat/Dockerfile.5.6 index c5f5d0d..b296db7 100644 --- a/compat/Dockerfile.5.6 +++ b/compat/Dockerfile.5.6 @@ -211,6 +211,9 @@ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/do RUN chmod +x /usr/local/bin/install-php-extensions +# PEAR < 1.10.18 can't read pecl.php.net responses anymore. +RUN pear upgrade --force https://pear.php.net/get/PEAR-1.10.18.tgz + RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ && DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \ curl \ diff --git a/compat/Dockerfile.5.6-apache b/compat/Dockerfile.5.6-apache index ba8be70..92eff7b 100644 --- a/compat/Dockerfile.5.6-apache +++ b/compat/Dockerfile.5.6-apache @@ -275,6 +275,9 @@ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/do RUN chmod +x /usr/local/bin/install-php-extensions +# PEAR < 1.10.18 can't read pecl.php.net responses anymore. +RUN pear upgrade --force https://pear.php.net/get/PEAR-1.10.18.tgz + RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ && DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \ curl \ diff --git a/compat/Dockerfile.5.6-fpm b/compat/Dockerfile.5.6-fpm index ee8bd8f..f6e4c84 100644 --- a/compat/Dockerfile.5.6-fpm +++ b/compat/Dockerfile.5.6-fpm @@ -251,6 +251,9 @@ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/do RUN chmod +x /usr/local/bin/install-php-extensions +# PEAR < 1.10.18 can't read pecl.php.net responses anymore. +RUN pear upgrade --force https://pear.php.net/get/PEAR-1.10.18.tgz + RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ && DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \ curl \