From c0b648d6c4efc498b18f564580088208e6804bf8 Mon Sep 17 00:00:00 2001 From: Sumit Madan Date: Tue, 21 Jul 2020 17:16:46 +0530 Subject: [PATCH] Fixed gd extension configuration. --- php7.2/Dockerfile | 2 +- php7.3/Dockerfile | 2 +- php7.4/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/php7.2/Dockerfile b/php7.2/Dockerfile index c21084a..b8e2ed8 100644 --- a/php7.2/Dockerfile +++ b/php7.2/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y libgmp-dev libxml2-dev acl unzip gnupg 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-configure gd --with-jpeg-dir --with-freetype-dir 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 diff --git a/php7.3/Dockerfile b/php7.3/Dockerfile index 6b43d73..a34e1d6 100644 --- a/php7.3/Dockerfile +++ b/php7.3/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y libgmp-dev libxml2-dev acl unzip bc bzi 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-configure gd --with-jpeg-dir --with-freetype-dir 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 diff --git a/php7.4/Dockerfile b/php7.4/Dockerfile index 27a4028..0ae1883 100644 --- a/php7.4/Dockerfile +++ b/php7.4/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y libgmp-dev libxml2-dev acl unzip bc bzi 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-configure gd --with-jpeg --with-freetype 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