Browse Source

add imagick for docker image

master
filesite 4 weeks ago
parent
commit
34a20e45c7
  1. 2
      Dockerfile

2
Dockerfile

@ -1,6 +1,6 @@
FROM php:8.4.0RC2-fpm-alpine3.20 FROM php:8.4.0RC2-fpm-alpine3.20
RUN apk add rsync nginx zlib-dev libpng-dev freetype-dev libjpeg-turbo-dev libwebp-dev \ RUN apk add rsync nginx zlib-dev libpng-dev freetype-dev libjpeg-turbo-dev libwebp-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp \ && docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-imagick \
&& docker-php-ext-install -j$(nproc) gd \ && docker-php-ext-install -j$(nproc) gd \
&& cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini \ && cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini \
&& cd /usr/local/etc/php/ \ && cd /usr/local/etc/php/ \

Loading…
Cancel
Save