Skip to content

Commit

Permalink
add imagick
Browse files Browse the repository at this point in the history
  • Loading branch information
balakrishnangithub committed Jun 1, 2017
1 parent 6c2fa92 commit 9a9bada
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ FROM php:5.6-apache

RUN docker-php-source extract \
&& apt-get update \
&& apt-get install libmcrypt-dev libldap2-dev nano -y \
&& apt-get install -y libmcrypt-dev libldap2-dev nano libmagickwand-dev \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \
&& docker-php-ext-install ldap mysqli opcache \
&& pecl install redis-3.1.0 \
&& pecl install xdebug-2.5.0 \
&& pecl install imagick-3.4.1 \
&& docker-php-ext-enable redis xdebug \
&& docker-php-ext-enable imagick \
&& docker-php-source delete \
&& a2enmod rewrite headers

Expand Down

0 comments on commit 9a9bada

Please sign in to comment.