From a52039a5d8059d24403af1892d34d49ebe052323 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Thu, 10 Apr 2025 15:16:57 -0700 Subject: [PATCH] Update to imagick 3.8.0 (now GA) This fixes the build issue we were working around *and* includes support for PHP 8.4. --- Dockerfile.template | 19 +------------------ beta/php8.1/apache/Dockerfile | 15 +++------------ beta/php8.1/fpm-alpine/Dockerfile | 15 +++------------ beta/php8.1/fpm/Dockerfile | 15 +++------------ beta/php8.2/apache/Dockerfile | 15 +++------------ beta/php8.2/fpm-alpine/Dockerfile | 15 +++------------ beta/php8.2/fpm/Dockerfile | 15 +++------------ beta/php8.3/apache/Dockerfile | 15 +++------------ beta/php8.3/fpm-alpine/Dockerfile | 15 +++------------ beta/php8.3/fpm/Dockerfile | 15 +++------------ beta/php8.4/apache/Dockerfile | 3 +-- beta/php8.4/fpm-alpine/Dockerfile | 3 +-- beta/php8.4/fpm/Dockerfile | 3 +-- cli/php8.1/alpine/Dockerfile | 15 +++------------ cli/php8.2/alpine/Dockerfile | 15 +++------------ cli/php8.3/alpine/Dockerfile | 15 +++------------ cli/php8.4/alpine/Dockerfile | 3 +-- latest/php8.1/apache/Dockerfile | 15 +++------------ latest/php8.1/fpm-alpine/Dockerfile | 15 +++------------ latest/php8.1/fpm/Dockerfile | 15 +++------------ latest/php8.2/apache/Dockerfile | 15 +++------------ latest/php8.2/fpm-alpine/Dockerfile | 15 +++------------ latest/php8.2/fpm/Dockerfile | 15 +++------------ latest/php8.3/apache/Dockerfile | 15 +++------------ latest/php8.3/fpm-alpine/Dockerfile | 15 +++------------ latest/php8.3/fpm/Dockerfile | 15 +++------------ latest/php8.4/apache/Dockerfile | 3 +-- latest/php8.4/fpm-alpine/Dockerfile | 3 +-- latest/php8.4/fpm/Dockerfile | 3 +-- 29 files changed, 71 insertions(+), 284 deletions(-) diff --git a/Dockerfile.template b/Dockerfile.template index 284076bf24..a1001d1e99 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -88,26 +88,9 @@ RUN set -ex; \ # WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328 {{ ) else "" end -}} # https://pecl.php.net/package/imagick -{{ if env.phpVersion == "8.4" then ( -}} -# RC for PHP 8.4 because of https://github.com/Imagick/imagick/issues/689 - pecl install imagick-3.8.0RC2; \ + pecl install imagick-3.8.0; \ docker-php-ext-enable imagick; \ rm -r /tmp/pear; \ -{{ ) else ( -}} -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ -{{ # TODO when 3.8.0 is GA, we should ditch this whole block and just update instead -}} -{{ ) end -}} \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/beta/php8.1/apache/Dockerfile b/beta/php8.1/apache/Dockerfile index 3ae7c3bf21..c44d687e2d 100644 --- a/beta/php8.1/apache/Dockerfile +++ b/beta/php8.1/apache/Dockerfile @@ -47,18 +47,9 @@ RUN set -ex; \ zip \ ; \ # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/beta/php8.1/fpm-alpine/Dockerfile b/beta/php8.1/fpm-alpine/Dockerfile index dc38756cb3..1e3bc8aebd 100644 --- a/beta/php8.1/fpm-alpine/Dockerfile +++ b/beta/php8.1/fpm-alpine/Dockerfile @@ -48,18 +48,9 @@ RUN set -ex; \ ; \ # WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328 # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/beta/php8.1/fpm/Dockerfile b/beta/php8.1/fpm/Dockerfile index 6e43f9ca6d..0f38b9b7e7 100644 --- a/beta/php8.1/fpm/Dockerfile +++ b/beta/php8.1/fpm/Dockerfile @@ -47,18 +47,9 @@ RUN set -ex; \ zip \ ; \ # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/beta/php8.2/apache/Dockerfile b/beta/php8.2/apache/Dockerfile index 525cff597d..fd64f0374d 100644 --- a/beta/php8.2/apache/Dockerfile +++ b/beta/php8.2/apache/Dockerfile @@ -47,18 +47,9 @@ RUN set -ex; \ zip \ ; \ # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/beta/php8.2/fpm-alpine/Dockerfile b/beta/php8.2/fpm-alpine/Dockerfile index 1d554f964a..7435d96730 100644 --- a/beta/php8.2/fpm-alpine/Dockerfile +++ b/beta/php8.2/fpm-alpine/Dockerfile @@ -48,18 +48,9 @@ RUN set -ex; \ ; \ # WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328 # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/beta/php8.2/fpm/Dockerfile b/beta/php8.2/fpm/Dockerfile index 6a9f88f23e..8f695a83c1 100644 --- a/beta/php8.2/fpm/Dockerfile +++ b/beta/php8.2/fpm/Dockerfile @@ -47,18 +47,9 @@ RUN set -ex; \ zip \ ; \ # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/beta/php8.3/apache/Dockerfile b/beta/php8.3/apache/Dockerfile index 70813df4b0..acf4158a10 100644 --- a/beta/php8.3/apache/Dockerfile +++ b/beta/php8.3/apache/Dockerfile @@ -47,18 +47,9 @@ RUN set -ex; \ zip \ ; \ # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/beta/php8.3/fpm-alpine/Dockerfile b/beta/php8.3/fpm-alpine/Dockerfile index 5c796d6cc1..62692c1405 100644 --- a/beta/php8.3/fpm-alpine/Dockerfile +++ b/beta/php8.3/fpm-alpine/Dockerfile @@ -48,18 +48,9 @@ RUN set -ex; \ ; \ # WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328 # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/beta/php8.3/fpm/Dockerfile b/beta/php8.3/fpm/Dockerfile index d006af2b7c..5becd3189e 100644 --- a/beta/php8.3/fpm/Dockerfile +++ b/beta/php8.3/fpm/Dockerfile @@ -47,18 +47,9 @@ RUN set -ex; \ zip \ ; \ # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/beta/php8.4/apache/Dockerfile b/beta/php8.4/apache/Dockerfile index 09b6f00070..8ec6dae6eb 100644 --- a/beta/php8.4/apache/Dockerfile +++ b/beta/php8.4/apache/Dockerfile @@ -47,8 +47,7 @@ RUN set -ex; \ zip \ ; \ # https://pecl.php.net/package/imagick -# RC for PHP 8.4 because of https://github.com/Imagick/imagick/issues/689 - pecl install imagick-3.8.0RC2; \ + pecl install imagick-3.8.0; \ docker-php-ext-enable imagick; \ rm -r /tmp/pear; \ \ diff --git a/beta/php8.4/fpm-alpine/Dockerfile b/beta/php8.4/fpm-alpine/Dockerfile index 4942f4fd49..4f915d5833 100644 --- a/beta/php8.4/fpm-alpine/Dockerfile +++ b/beta/php8.4/fpm-alpine/Dockerfile @@ -48,8 +48,7 @@ RUN set -ex; \ ; \ # WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328 # https://pecl.php.net/package/imagick -# RC for PHP 8.4 because of https://github.com/Imagick/imagick/issues/689 - pecl install imagick-3.8.0RC2; \ + pecl install imagick-3.8.0; \ docker-php-ext-enable imagick; \ rm -r /tmp/pear; \ \ diff --git a/beta/php8.4/fpm/Dockerfile b/beta/php8.4/fpm/Dockerfile index 9f64742406..a5963bcd70 100644 --- a/beta/php8.4/fpm/Dockerfile +++ b/beta/php8.4/fpm/Dockerfile @@ -47,8 +47,7 @@ RUN set -ex; \ zip \ ; \ # https://pecl.php.net/package/imagick -# RC for PHP 8.4 because of https://github.com/Imagick/imagick/issues/689 - pecl install imagick-3.8.0RC2; \ + pecl install imagick-3.8.0; \ docker-php-ext-enable imagick; \ rm -r /tmp/pear; \ \ diff --git a/cli/php8.1/alpine/Dockerfile b/cli/php8.1/alpine/Dockerfile index ee49be32f8..87bad2c49b 100644 --- a/cli/php8.1/alpine/Dockerfile +++ b/cli/php8.1/alpine/Dockerfile @@ -49,18 +49,9 @@ RUN set -ex; \ ; \ # WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328 # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/cli/php8.2/alpine/Dockerfile b/cli/php8.2/alpine/Dockerfile index 1bd85cfb68..4eb5beb364 100644 --- a/cli/php8.2/alpine/Dockerfile +++ b/cli/php8.2/alpine/Dockerfile @@ -49,18 +49,9 @@ RUN set -ex; \ ; \ # WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328 # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/cli/php8.3/alpine/Dockerfile b/cli/php8.3/alpine/Dockerfile index d5df8ea6d6..c856327425 100644 --- a/cli/php8.3/alpine/Dockerfile +++ b/cli/php8.3/alpine/Dockerfile @@ -49,18 +49,9 @@ RUN set -ex; \ ; \ # WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328 # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/cli/php8.4/alpine/Dockerfile b/cli/php8.4/alpine/Dockerfile index cc9ed5dc27..36904c5cbe 100644 --- a/cli/php8.4/alpine/Dockerfile +++ b/cli/php8.4/alpine/Dockerfile @@ -49,8 +49,7 @@ RUN set -ex; \ ; \ # WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328 # https://pecl.php.net/package/imagick -# RC for PHP 8.4 because of https://github.com/Imagick/imagick/issues/689 - pecl install imagick-3.8.0RC2; \ + pecl install imagick-3.8.0; \ docker-php-ext-enable imagick; \ rm -r /tmp/pear; \ \ diff --git a/latest/php8.1/apache/Dockerfile b/latest/php8.1/apache/Dockerfile index 7c68d47d0b..213c36a26d 100644 --- a/latest/php8.1/apache/Dockerfile +++ b/latest/php8.1/apache/Dockerfile @@ -47,18 +47,9 @@ RUN set -ex; \ zip \ ; \ # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/latest/php8.1/fpm-alpine/Dockerfile b/latest/php8.1/fpm-alpine/Dockerfile index 8a89b1f9ac..583da60d65 100644 --- a/latest/php8.1/fpm-alpine/Dockerfile +++ b/latest/php8.1/fpm-alpine/Dockerfile @@ -48,18 +48,9 @@ RUN set -ex; \ ; \ # WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328 # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/latest/php8.1/fpm/Dockerfile b/latest/php8.1/fpm/Dockerfile index 0aa568d0b0..265ce57eea 100644 --- a/latest/php8.1/fpm/Dockerfile +++ b/latest/php8.1/fpm/Dockerfile @@ -47,18 +47,9 @@ RUN set -ex; \ zip \ ; \ # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/latest/php8.2/apache/Dockerfile b/latest/php8.2/apache/Dockerfile index f959642168..12e24a0811 100644 --- a/latest/php8.2/apache/Dockerfile +++ b/latest/php8.2/apache/Dockerfile @@ -47,18 +47,9 @@ RUN set -ex; \ zip \ ; \ # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/latest/php8.2/fpm-alpine/Dockerfile b/latest/php8.2/fpm-alpine/Dockerfile index 0045c557e8..0e6b3511aa 100644 --- a/latest/php8.2/fpm-alpine/Dockerfile +++ b/latest/php8.2/fpm-alpine/Dockerfile @@ -48,18 +48,9 @@ RUN set -ex; \ ; \ # WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328 # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/latest/php8.2/fpm/Dockerfile b/latest/php8.2/fpm/Dockerfile index f1e02014ce..2c67d23c09 100644 --- a/latest/php8.2/fpm/Dockerfile +++ b/latest/php8.2/fpm/Dockerfile @@ -47,18 +47,9 @@ RUN set -ex; \ zip \ ; \ # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/latest/php8.3/apache/Dockerfile b/latest/php8.3/apache/Dockerfile index c722aa15a3..a6f97ab453 100644 --- a/latest/php8.3/apache/Dockerfile +++ b/latest/php8.3/apache/Dockerfile @@ -47,18 +47,9 @@ RUN set -ex; \ zip \ ; \ # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/latest/php8.3/fpm-alpine/Dockerfile b/latest/php8.3/fpm-alpine/Dockerfile index 6974d1886b..7df545599b 100644 --- a/latest/php8.3/fpm-alpine/Dockerfile +++ b/latest/php8.3/fpm-alpine/Dockerfile @@ -48,18 +48,9 @@ RUN set -ex; \ ; \ # WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328 # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/latest/php8.3/fpm/Dockerfile b/latest/php8.3/fpm/Dockerfile index a0bdb8b30c..2d171a0e84 100644 --- a/latest/php8.3/fpm/Dockerfile +++ b/latest/php8.3/fpm/Dockerfile @@ -47,18 +47,9 @@ RUN set -ex; \ zip \ ; \ # https://pecl.php.net/package/imagick -# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔) -# see also https://github.com/Imagick/imagick/pull/641 -# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit - curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \ - echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \ - tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \ - test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \ - sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \ - grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \ - docker-php-ext-install /tmp/imagick-3.7.0; \ - rm -rf imagick.tgz /tmp/imagick-3.7.0; \ + pecl install imagick-3.8.0; \ + docker-php-ext-enable imagick; \ + rm -r /tmp/pear; \ \ # some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967) out="$(php -r 'exit(0);')"; \ diff --git a/latest/php8.4/apache/Dockerfile b/latest/php8.4/apache/Dockerfile index b3df14975e..4e440ceac3 100644 --- a/latest/php8.4/apache/Dockerfile +++ b/latest/php8.4/apache/Dockerfile @@ -47,8 +47,7 @@ RUN set -ex; \ zip \ ; \ # https://pecl.php.net/package/imagick -# RC for PHP 8.4 because of https://github.com/Imagick/imagick/issues/689 - pecl install imagick-3.8.0RC2; \ + pecl install imagick-3.8.0; \ docker-php-ext-enable imagick; \ rm -r /tmp/pear; \ \ diff --git a/latest/php8.4/fpm-alpine/Dockerfile b/latest/php8.4/fpm-alpine/Dockerfile index da2d759095..77506ce21b 100644 --- a/latest/php8.4/fpm-alpine/Dockerfile +++ b/latest/php8.4/fpm-alpine/Dockerfile @@ -48,8 +48,7 @@ RUN set -ex; \ ; \ # WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328 # https://pecl.php.net/package/imagick -# RC for PHP 8.4 because of https://github.com/Imagick/imagick/issues/689 - pecl install imagick-3.8.0RC2; \ + pecl install imagick-3.8.0; \ docker-php-ext-enable imagick; \ rm -r /tmp/pear; \ \ diff --git a/latest/php8.4/fpm/Dockerfile b/latest/php8.4/fpm/Dockerfile index 81660cb2a4..e4393e5b63 100644 --- a/latest/php8.4/fpm/Dockerfile +++ b/latest/php8.4/fpm/Dockerfile @@ -47,8 +47,7 @@ RUN set -ex; \ zip \ ; \ # https://pecl.php.net/package/imagick -# RC for PHP 8.4 because of https://github.com/Imagick/imagick/issues/689 - pecl install imagick-3.8.0RC2; \ + pecl install imagick-3.8.0; \ docker-php-ext-enable imagick; \ rm -r /tmp/pear; \ \