From f89b232d7b0dc46b28bbb69860caff8c2a437f1c Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Tue, 13 Apr 2021 17:09:20 +0300 Subject: [PATCH] * correctly gd install for php7.4 with freetype, jpeg and webp --- dockerfiles/php-fpm/php.base.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfiles/php-fpm/php.base.Dockerfile b/dockerfiles/php-fpm/php.base.Dockerfile index eff310e..cbda302 100644 --- a/dockerfiles/php-fpm/php.base.Dockerfile +++ b/dockerfiles/php-fpm/php.base.Dockerfile @@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y \ libpng-dev \ libwebp-dev \ && docker-php-ext-install -j$(nproc) iconv \ - && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include/ \ + && docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp \ && docker-php-ext-install -j$(nproc) gd \ && docker-php-ext-install mysqli \ && docker-php-ext-enable mysqli