configure: error: freetype-config not found.
Closed this issue · 0 comments
guillaumemaka commented
Hi, when building the base image I got this error
#7 4.429 If configure fails try --with-xpm-dir=<DIR>
#7 4.430 configure: error: freetype-config not found.
------
executor failed running [/bin/sh -c docker-php-ext-configure gd --enable-gd-native-ttf --with-freetype-dir=/usr/include/freetype2 --with-jpeg-dir=/usr/include/]: exit code: 1
Quick fix
Replace:
FROM php:7.2-fpm
to:
FROM php:7.2-fpm-stretch