diff --git a/php7.2/Dockerfile b/php7.2/Dockerfile index 461c171..c21084a 100644 --- a/php7.2/Dockerfile +++ b/php7.2/Dockerfile @@ -4,12 +4,13 @@ RUN a2enmod rewrite # install the PHP extensions we need RUN apt-get update && apt-get install -y gnupg libpng-dev libjpeg-dev libpq-dev default-mysql-client git libbz2-dev libonig-dev -RUN apt-get update && apt-get install -y libgmp-dev libxml2-dev acl unzip gnupg bc bzip2 wget libzip-dev libxslt-dev +RUN apt-get update && apt-get install -y libgmp-dev libxml2-dev acl unzip gnupg bc bzip2 wget libzip-dev libxslt-dev libmagickwand-dev RUN pecl install xdebug && docker-php-ext-enable xdebug RUN ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h RUN rm -rf /var/lib/apt/lists/* RUN docker-php-ext-configure gd -RUN docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip bcmath bz2 gmp soap xsl intl calendar imagick +RUN docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip bcmath bz2 gmp soap xsl intl calendar +RUN pecl install imagick && docker-php-ext-enable imagick RUN pecl install pcov && docker-php-ext-enable pcov RUN echo 'sendmail_path=/bin/true' > /usr/local/etc/php/conf.d/sendmail.ini diff --git a/php7.3/Dockerfile b/php7.3/Dockerfile index 6dd088e..6b43d73 100644 --- a/php7.3/Dockerfile +++ b/php7.3/Dockerfile @@ -4,12 +4,13 @@ RUN a2enmod rewrite # install the PHP extensions we need RUN apt-get update && apt-get install -y gnupg libpng-dev libjpeg-dev libpq-dev default-mysql-client git libbz2-dev libonig-dev -RUN apt-get update && apt-get install -y libgmp-dev libxml2-dev acl unzip bc bzip2 wget libzip-dev libxslt-dev +RUN apt-get update && apt-get install -y libgmp-dev libxml2-dev acl unzip bc bzip2 wget libzip-dev libxslt-dev libmagickwand-dev RUN pecl install xdebug && docker-php-ext-enable xdebug RUN ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h RUN rm -rf /var/lib/apt/lists/* RUN docker-php-ext-configure gd -RUN docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip bcmath bz2 gmp soap xsl intl calendar imagick +RUN docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip bcmath bz2 gmp soap xsl intl calendar +RUN pecl install imagick && docker-php-ext-enable imagick RUN pecl install pcov && docker-php-ext-enable pcov RUN echo 'sendmail_path=/bin/true' > /usr/local/etc/php/conf.d/sendmail.ini diff --git a/php7.4/Dockerfile b/php7.4/Dockerfile index 5e33043..27a4028 100644 --- a/php7.4/Dockerfile +++ b/php7.4/Dockerfile @@ -4,12 +4,13 @@ RUN a2enmod rewrite # install the PHP extensions we need RUN apt-get update && apt-get install -y gnupg libpng-dev libjpeg-dev libpq-dev default-mysql-client git libbz2-dev libonig-dev -RUN apt-get update && apt-get install -y libgmp-dev libxml2-dev acl unzip bc bzip2 wget libzip-dev libxslt-dev +RUN apt-get update && apt-get install -y libgmp-dev libxml2-dev acl unzip bc bzip2 wget libzip-dev libxslt-dev libmagickwand-dev RUN pecl install xdebug && docker-php-ext-enable xdebug RUN ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h RUN rm -rf /var/lib/apt/lists/* RUN docker-php-ext-configure gd -RUN docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip bcmath bz2 gmp soap xsl intl calendar imagick +RUN docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip bcmath bz2 gmp soap xsl intl calendar +RUN pecl install imagick && docker-php-ext-enable imagick RUN pecl install pcov && docker-php-ext-enable pcov RUN echo 'sendmail_path=/bin/true' > /usr/local/etc/php/conf.d/sendmail.ini