Вызываю последовательно в докере
RUN pear upgrade --force --alldeps http://pear.php.net/get/PEAR-1.10.1
RUN pear clear-cache
RUN pear update-channels
RUN pear upgrade
RUN pear upgrade-all
RUN pear install Auth_SASL
RUN pear install pear/Net_SMTP
В конце выводит
Step 7/14 : RUN pear upgrade-all
---> Running in 17b6434f313f
Will upgrade channel://pear.php.net/pear
WARNING: "pear/Console_Getopt" is deprecated in favor of "pear/Console_GetoptPlus"
pear/PEAR dependency package "pear/Archive_Tar" installed version 1.4.14 is not the recommended version 1.4.4, but may be compatible, use --force to install
No valid packages found
upgrade-all failed
The command '/bin/sh -c pear upgrade-all' returned a non-zero code: 1
ERROR: Service 'php' failed to build : Build failed