diff --git a/images/8.0/php/Dockerfile b/images/8.0/php/Dockerfile index e3a6c51..2346a46 100644 --- a/images/8.0/php/Dockerfile +++ b/images/8.0/php/Dockerfile @@ -27,12 +27,9 @@ RUN set -ex; \ \ docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \ \ - curl --location --output /usr/local/bin/pickle https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.11/pickle.phar; \ - chmod +x /usr/local/bin/pickle; \ - \ - pickle install memcached-3.3.0; \ - pickle install xdebug-3.4.0; \ - pickle install imagick; \ + pecl install memcached-3.3.0; \ + pecl install xdebug-3.4.0; \ + pecl install imagick; \ docker-php-ext-enable imagick; \ \ curl --silent --fail --location --retry 3 --output /tmp/installer.php --url https://getcomposer.org/installer; \ diff --git a/images/8.1/php/Dockerfile b/images/8.1/php/Dockerfile index 85a020c..1927ecf 100644 --- a/images/8.1/php/Dockerfile +++ b/images/8.1/php/Dockerfile @@ -27,12 +27,9 @@ RUN set -ex; \ \ docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \ \ - curl --location --output /usr/local/bin/pickle https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.11/pickle.phar; \ - chmod +x /usr/local/bin/pickle; \ - \ - pickle install memcached-3.3.0; \ - pickle install xdebug-3.4.0; \ - pickle install imagick; \ + pecl install memcached-3.3.0; \ + pecl install xdebug-3.4.0; \ + pecl install imagick; \ docker-php-ext-enable imagick; \ \ curl --silent --fail --location --retry 3 --output /tmp/installer.php --url https://getcomposer.org/installer; \ diff --git a/images/8.2/php/Dockerfile b/images/8.2/php/Dockerfile index 42a08a9..0871f9e 100644 --- a/images/8.2/php/Dockerfile +++ b/images/8.2/php/Dockerfile @@ -27,12 +27,9 @@ RUN set -ex; \ \ docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \ \ - curl --location --output /usr/local/bin/pickle https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.11/pickle.phar; \ - chmod +x /usr/local/bin/pickle; \ - \ - pickle install memcached-3.3.0; \ - pickle install xdebug-3.4.0; \ - pickle install imagick; \ + pecl install memcached-3.3.0; \ + pecl install xdebug-3.4.0; \ + pecl install imagick; \ docker-php-ext-enable imagick; \ \ curl --silent --fail --location --retry 3 --output /tmp/installer.php --url https://getcomposer.org/installer; \ diff --git a/images/8.3/php/Dockerfile b/images/8.3/php/Dockerfile index 49f4bdb..e6967ac 100644 --- a/images/8.3/php/Dockerfile +++ b/images/8.3/php/Dockerfile @@ -27,11 +27,8 @@ RUN set -ex; \ \ docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \ \ - curl --location --output /usr/local/bin/pickle https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.11/pickle.phar; \ - chmod +x /usr/local/bin/pickle; \ - \ - pickle install memcached-3.3.0; \ - pickle install xdebug-3.4.0; \ + pecl install memcached-3.3.0; \ + pecl install xdebug-3.4.0; \ \ curl --silent --fail --location --retry 3 --output /tmp/installer.php --url https://getcomposer.org/installer; \ curl --silent --fail --location --retry 3 --output /tmp/installer.sig --url https://composer.github.io/installer.sig; \ diff --git a/images/8.4/php/Dockerfile b/images/8.4/php/Dockerfile index 2039304..8ce09c3 100644 --- a/images/8.4/php/Dockerfile +++ b/images/8.4/php/Dockerfile @@ -27,10 +27,7 @@ RUN set -ex; \ \ docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \ \ - curl --location --output /usr/local/bin/pickle https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.11/pickle.phar; \ - chmod +x /usr/local/bin/pickle; \ - \ - pickle install xdebug-3.4.0; \ + pecl install xdebug-3.4.0; \ \ curl --silent --fail --location --retry 3 --output /tmp/installer.php --url https://getcomposer.org/installer; \ curl --silent --fail --location --retry 3 --output /tmp/installer.sig --url https://composer.github.io/installer.sig; \ diff --git a/update.php b/update.php index 67b4f26..d5435c5 100644 --- a/update.php +++ b/update.php @@ -423,21 +423,12 @@ if ( $config['pecl_extensions'] ) { $install_extensions .= " \\\n\t\\\n"; - if ( version_compare( $version, '7.4', '>' ) === true ) { - $install_extensions .= "\tcurl --location --output /usr/local/bin/pickle https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.11/pickle.phar; \\\n"; - $install_extensions .= "\tchmod +x /usr/local/bin/pickle; \\\n\t\\\n"; - } - $install_extensions .= array_reduce( $config['pecl_extensions'], function ( $command, $extension ) use ( $version ) { if ( $command ) { $command .= " \\\n"; } - if ( version_compare( $version, '7.4', '>' ) === true ) { - $command .= "\tpickle install $extension;"; - } else { - $command .= "\tpecl install $extension;"; - } + $command .= "\tpecl install $extension;"; if ( 0 === strpos( $extension, 'imagick' ) ) { $command .= " \\\n\tdocker-php-ext-enable imagick;";