From 214d11eb8d8037713d523b081b4a0b2dbb28caeb Mon Sep 17 00:00:00 2001 From: schuer Date: Wed, 29 Jul 2020 15:48:30 +0200 Subject: [PATCH] drop Imagick support in Alpine ref https://github.com/Imagick/imagick/issues/328 --- php7.2/fpm-alpine/Dockerfile | 7 ------- php7.3/fpm-alpine/Dockerfile | 7 ------- php7.4/fpm-alpine/Dockerfile | 7 ------- templates/Dockerfile-alpine | 7 ------- 4 files changed, 28 deletions(-) diff --git a/php7.2/fpm-alpine/Dockerfile b/php7.2/fpm-alpine/Dockerfile index ba9e01b..cefb6ce 100644 --- a/php7.2/fpm-alpine/Dockerfile +++ b/php7.2/fpm-alpine/Dockerfile @@ -3,7 +3,6 @@ FROM php:7.2-fpm-alpine # install persistent PHP extensions (they won't get purged afterwards) RUN apk add --no-cache \ bash \ - ghostscript \ # add perl-utils to include shasum perl-utils \ sed \ @@ -17,7 +16,6 @@ RUN set -ex; \ freetype-dev \ # add icu-dev to be able to install intl extension icu-dev \ - imagemagick-dev \ libjpeg-turbo-dev \ libpng-dev \ ; \ @@ -34,11 +32,6 @@ RUN set -ex; \ > /dev/null \ ; \ \ - # install imagick - mkdir -p /usr/src/php/ext/imagick; \ - curl -fsSL https://pecl.php.net/get/imagick | tar xvz -C "/usr/src/php/ext/imagick" --strip 1; \ - docker-php-ext-install imagick; \ - \ runDeps="$( \ scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \ | tr ',' '\n' \ diff --git a/php7.3/fpm-alpine/Dockerfile b/php7.3/fpm-alpine/Dockerfile index 67ea3b9..45ce276 100644 --- a/php7.3/fpm-alpine/Dockerfile +++ b/php7.3/fpm-alpine/Dockerfile @@ -3,7 +3,6 @@ FROM php:7.3-fpm-alpine # install persistent PHP extensions (they won't get purged afterwards) RUN apk add --no-cache \ bash \ - ghostscript \ # add perl-utils to include shasum perl-utils \ sed \ @@ -17,7 +16,6 @@ RUN set -ex; \ freetype-dev \ # add icu-dev to be able to install intl extension icu-dev \ - imagemagick-dev \ libjpeg-turbo-dev \ libpng-dev \ libzip-dev \ @@ -35,11 +33,6 @@ RUN set -ex; \ > /dev/null \ ; \ \ - # install imagick - mkdir -p /usr/src/php/ext/imagick; \ - curl -fsSL https://pecl.php.net/get/imagick | tar xvz -C "/usr/src/php/ext/imagick" --strip 1; \ - docker-php-ext-install imagick; \ - \ runDeps="$( \ scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \ | tr ',' '\n' \ diff --git a/php7.4/fpm-alpine/Dockerfile b/php7.4/fpm-alpine/Dockerfile index c4dcff0..77b3337 100644 --- a/php7.4/fpm-alpine/Dockerfile +++ b/php7.4/fpm-alpine/Dockerfile @@ -3,7 +3,6 @@ FROM php:7.4-fpm-alpine # install persistent PHP extensions (they won't get purged afterwards) RUN apk add --no-cache \ bash \ - ghostscript \ # add perl-utils to include shasum perl-utils \ sed \ @@ -17,7 +16,6 @@ RUN set -ex; \ freetype-dev \ # add icu-dev to be able to install intl extension icu-dev \ - imagemagick-dev \ libjpeg-turbo-dev \ libpng-dev \ libzip-dev \ @@ -35,11 +33,6 @@ RUN set -ex; \ > /dev/null \ ; \ \ - # install imagick - mkdir -p /usr/src/php/ext/imagick; \ - curl -fsSL https://pecl.php.net/get/imagick | tar xvz -C "/usr/src/php/ext/imagick" --strip 1; \ - docker-php-ext-install imagick; \ - \ runDeps="$( \ scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \ | tr ',' '\n' \ diff --git a/templates/Dockerfile-alpine b/templates/Dockerfile-alpine index 06232c4..abed7be 100644 --- a/templates/Dockerfile-alpine +++ b/templates/Dockerfile-alpine @@ -3,7 +3,6 @@ FROM php:%%PHP_VERSION%%-%%VARIANT%% # install persistent PHP extensions (they won't get purged afterwards) RUN apk add --no-cache \ bash \ - ghostscript \ # add perl-utils to include shasum perl-utils \ sed \ @@ -17,7 +16,6 @@ RUN set -ex; \ freetype-dev \ # add icu-dev to be able to install intl extension icu-dev \ - imagemagick-dev \ libjpeg-turbo-dev \ libpng-dev \ libzip-dev \ @@ -35,11 +33,6 @@ RUN set -ex; \ > /dev/null \ ; \ \ - # install imagick - mkdir -p /usr/src/php/ext/imagick; \ - curl -fsSL https://pecl.php.net/get/imagick | tar xvz -C "/usr/src/php/ext/imagick" --strip 1; \ - docker-php-ext-install imagick; \ - \ runDeps="$( \ scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \ | tr ',' '\n' \