Skip to content

Commit

Permalink
Added Imagick library. Based on docker-library/php#105
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosreig committed Feb 17, 2017
1 parent 541fb72 commit 1c4d4f2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ RUN apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
ssmtp \
&& apt-get install -y libmagickwand-dev --no-install-recommends \
&& docker-php-ext-install mbstring \
&& docker-php-ext-install pdo_mysql \
&& docker-php-ext-install mysqli \
Expand All @@ -26,6 +27,9 @@ RUN apt-get install -y \
&& docker-php-ext-install intl \
&& docker-php-ext-install zip \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& pecl install imagick \
&& docker-php-ext-enable imagick \
&& rm -r /var/lib/apt/lists/*
&& curl -sS https://getcomposer.org/installer | php \
&& mv composer.phar /usr/bin/composer \
&& pecl install xdebug \
Expand All @@ -34,4 +38,4 @@ RUN apt-get install -y \
ADD templates/apache2.conf /etc/apache2/
ADD templates/php.ini /usr/local/etc/php/
ADD templates/ssmtp.conf /etc/ssmtp/
ADD templates/xdebug.ini /usr/local/etc/php/conf.d/
ADD templates/xdebug.ini /usr/local/etc/php/conf.d/

0 comments on commit 1c4d4f2

Please sign in to comment.