From 51b19a123631a263ba2d14af8e9709871acdd213 Mon Sep 17 00:00:00 2001 From: waja Date: Mon, 28 Apr 2025 18:52:47 +0200 Subject: [PATCH] chore: revert imagick installation to pecl 3.8.0 was released and should include the fix: https://pecl.php.net/package/imagick/3.8.0 ref: https://github.com/hoellen/docker-nextcloud/pull/103 --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 452667c..be117d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,8 +22,6 @@ FROM docker.io/library/php:${PHP_VERSION}-fpm-alpine${ALPINE_VERSION} AS base ARG SNUFFLEUPAGUS_VERSION -ENV IMAGICK_SHA=28f27044e435a2b203e32675e942eb8de620ee58 - RUN apk -U upgrade \ && apk add -t build-deps \ $PHPIZE_DEPS \ @@ -74,8 +72,7 @@ RUN apk -U upgrade \ && pecl install smbclient \ && pecl install APCu \ && pecl install redis \ - && curl -L -o /tmp/imagick.tar.gz https://github.com/Imagick/imagick/archive/${IMAGICK_SHA}.tar.gz && tar --strip-components=1 -xf /tmp/imagick.tar.gz && phpize && ./configure && make && make install \ - && apk add --no-cache --virtual .imagick-runtime-deps imagemagick \ + && pecl install imagick \ && docker-php-ext-enable \ smbclient \ redis \