Skip to content

Commit a570382

Browse files
committed
Add imagemagick
1 parent 2b648d1 commit a570382

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ RUN apt-get update && apt-get install -y \
1616
bzip2 \
1717
busybox-static \
1818
libmagickwand-dev \
19+
imagemagick \
20+
--no-install-recommends \
1921
&& rm -rf /var/lib/apt/lists/*
2022
RUN docker-php-ext-configure gd \
2123
--with-freetype \
@@ -38,6 +40,7 @@ RUN docker-php-ext-install \
3840
pdo_pgsql \
3941
pgsql \
4042
gettext
43+
RUN yes '' | pecl install imagick
4144
RUN yes '' | pecl install apcu
4245
RUN yes '' | pecl install memcached
4346
RUN yes '' | pecl install redis
@@ -46,7 +49,8 @@ RUN docker-php-ext-enable \
4649
apcu \
4750
memcached \
4851
redis \
49-
mcrypt
52+
mcrypt \
53+
imagick
5054
RUN { \
5155
echo 'opcache.enable=1'; \
5256
echo 'opcache.enable_cli=1'; \

0 commit comments

Comments
 (0)