From b1fc295e22c602b3790f10bf30d06a8a4feb7694 Mon Sep 17 00:00:00 2001 From: Ian Kidd <45671561+ikidd@users.noreply.github.com> Date: Tue, 18 Jan 2022 18:46:03 -0700 Subject: [PATCH] fixed for php:7.4-fpm As per https://github.com/docker-library/php/issues/912 to correct build error: "configure: error: unrecognized options: --with-freetype-dir, --with-jpeg-dir" --- .docker/dev/php/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.docker/dev/php/Dockerfile b/.docker/dev/php/Dockerfile index 4a2b7497f..74759db6c 100644 --- a/.docker/dev/php/Dockerfile +++ b/.docker/dev/php/Dockerfile @@ -15,7 +15,7 @@ RUN pecl install xxtea-1.0.11 && \ RUN docker-php-ext-configure intl && \ docker-php-ext-configure ldap && \ - docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \ + docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ && \ docker-php-ext-install opcache pdo_mysql zip intl gd ldap RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer