added imagick extension

This commit is contained in:
2025-12-07 20:12:40 +01:00
parent c441381229
commit 1a88d54630

View File

@@ -11,6 +11,7 @@ RUN set -eux; \
libjpeg-turbo \ libjpeg-turbo \
freetype \ freetype \
libzip \ libzip \
imagemagick \
bash \ bash \
shadow \ shadow \
curl \ curl \
@@ -21,7 +22,8 @@ RUN set -eux; \
libpng-dev \ libpng-dev \
libjpeg-turbo-dev \ libjpeg-turbo-dev \
freetype-dev \ freetype-dev \
libzip-dev; \ libzip-dev \
imagemagick-dev; \
docker-php-ext-configure gd --with-freetype --with-jpeg; \ docker-php-ext-configure gd --with-freetype --with-jpeg; \
docker-php-ext-install -j"$(nproc)" \ docker-php-ext-install -j"$(nproc)" \
bcmath \ bcmath \
@@ -32,7 +34,8 @@ RUN set -eux; \
zip \ zip \
opcache; \ opcache; \
pecl install redis; \ pecl install redis; \
docker-php-ext-enable redis; \ pecl install imagick; \
docker-php-ext-enable redis imagick; \
apk del .build-deps apk del .build-deps
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer COPY --from=composer:2 /usr/bin/composer /usr/bin/composer