Public Repository

Last pushed: 10 months ago
Short Description
php7 + git + composer + imagick
Full Description

#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

Docker Pull Command
Owner
clockwise

Comments (0)