Skip to content

Commit

Permalink
# Error: configure: error: freetype-config not found.
Browse files Browse the repository at this point in the history
# Temporarily, comment one instruction to fix freetype-config error
  • Loading branch information
smurtazakazmi committed Jul 22, 2019
1 parent 5166faa commit 876f615
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ services:

env:
matrix:
- PHP_VERSION=56
- PHP_VERSION=70
- PHP_VERSION=71
- PHP_VERSION=72
- PHP_VERSION=73

# Installing a newer Docker version
before_install:
Expand Down
1 change: 1 addition & 0 deletions Dockerfile-71-fpm
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ RUN docker-php-ext-install mcrypt \
&& docker-php-ext-configure gd \
--enable-gd-native-ttf \
--with-jpeg-dir=/usr/lib && \
# Error: Commented below instruction to fix error (configure: error: freetype-config not found )
# --with-freetype-dir=/usr/include/freetype2 && \
docker-php-ext-install gd
5 changes: 3 additions & 2 deletions Dockerfile-72-fpm
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ RUN apt-get update && \
&& docker-php-ext-install pdo_pgsql \
# Install the PHP gd library
&& docker-php-ext-configure gd \
--with-jpeg-dir=/usr/lib \
--with-freetype-dir=/usr/include/freetype2 && \
--with-jpeg-dir=/usr/lib && \
# Error: Commented below instruction to fix error (configure: error: freetype-config not found )
# --with-freetype-dir=/usr/include/freetype2 && \
docker-php-ext-install gd
5 changes: 3 additions & 2 deletions Dockerfile-73-fpm
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ RUN apt-get update && \
&& docker-php-ext-install pdo_pgsql \
# Install the PHP gd library
&& docker-php-ext-configure gd \
--with-jpeg-dir=/usr/lib \
--with-freetype-dir=/usr/include/freetype2 && \
--with-jpeg-dir=/usr/lib && \
# Error: Commented below instruction to fix error (configure: error: freetype-config not found )
# --with-freetype-dir=/usr/include/freetype2 && \
docker-php-ext-install gd

0 comments on commit 876f615

Please sign in to comment.