Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure: error: freetype-config not found. #16

Closed
guillaumemaka opened this issue Jul 22, 2019 · 0 comments
Closed

configure: error: freetype-config not found. #16

guillaumemaka opened this issue Jul 22, 2019 · 0 comments

Comments

@guillaumemaka
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant