Skip to content
This repository was archived by the owner on Mar 13, 2019. It is now read-only.

Add imagick PHP extension #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ MAINTAINER Rob Loach <robloach@gmail.com>
# Packages
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
libmagickwand-dev \
libfreetype6-dev \
libjpeg62-turbo-dev \
libmcrypt-dev \
Expand All @@ -21,11 +22,13 @@ RUN apt-get update && \
&& rm -r /var/lib/apt/lists/*

# PHP Extensions
RUN docker-php-ext-install mcrypt zip bz2 mbstring xsl \
RUN pecl install imagick \
&& docker-php-ext-install mcrypt zip bz2 mbstring xsl \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install gd \
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \
&& docker-php-ext-install ldap
&& docker-php-ext-install ldap \
&& docker-php-ext-enable imagick

# Memory Limit
RUN echo "memory_limit=-1" > $PHP_INI_DIR/conf.d/memory-limit.ini
Expand Down