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"
This commit is contained in:
Ian Kidd 2022-01-18 18:46:03 -07:00 committed by GitHub
parent 43a1196dbb
commit b1fc295e22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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