Sign inSign up

clockwise/php7-imagick

By clockwise

•Updated almost 10 years ago

php7 + git + composer + imagick

Image
1

485

clockwise/php7-imagick repository overview

#Latest DOCKERFILE here:

FROM php:7-fpm

RUN apt-get update &&
apt-get install -y
libfreetype6-dev
libjpeg62-turbo-dev
libmcrypt-dev
libpng12-dev
libsqlite3-dev
libcurl4-gnutls-dev
&& apt-get install git -y
&& apt-get install -y libmcrypt-dev mysql-client
&& docker-php-ext-install -j$(nproc) iconv mcrypt pdo_mysql gd zip curl bcmath opcache mbstring
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
&& docker-php-ext-install -j$(nproc) gd
&& docker-php-ext-enable iconv mcrypt pdo_mysql gd zip curl bcmath opcache mbstring
&& apt-get autoremove -y

RUN curl -sS https://getcomposer.org/installer⁠ | php && mv composer.phar /usr/local/bin/composer

RUN apt-get update && apt-get install -y libmagickwand-6.q16-dev --no-install-recommends
&& ln -s /usr/lib/x86_64-linux-gnu/ImageMagick-6.8.9/bin-Q16/MagickWand-config /usr/bin
&& pecl install imagick
&& echo "extension=imagick.so" > /usr/local/etc/php/conf.d/ext-imagick.ini

WORKDIR /var/www

Tag summary

Content type

Image

Digest

Size

255.4 MB

Last updated

almost 10 years ago

docker pull clockwise/php7-imagick