Skip to content

Commit

Permalink
# Error: configure: error: freetype-config not found.
Browse files Browse the repository at this point in the history
# Temp, edit travis file to test for one version only
  • Loading branch information
smurtazakazmi committed Jul 22, 2019
1 parent 30f3dea commit 5166faa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ 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
9 changes: 2 additions & 7 deletions Dockerfile-71-fpm
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ RUN apt-get update && \
libmcrypt-dev \
&& rm -rf /var/lib/apt/lists/*

# Error: configure: error: freetype-config not found.
# Fix: apt-get install libfreetype6-dev
# Ref: https://jcutrer.com/linux/how-to-compile-php7-on-ubuntu-14-04
RUN apt-get install libfreetype6-dev

# Install the PHP mcrypt extention
RUN docker-php-ext-install mcrypt \
# Install the PHP pdo_mysql extention
Expand All @@ -46,6 +41,6 @@ RUN docker-php-ext-install mcrypt \
# Install the PHP gd library
&& docker-php-ext-configure gd \
--enable-gd-native-ttf \
--with-jpeg-dir=/usr/lib \
--with-freetype-dir=/usr/include/freetype2 && \
--with-jpeg-dir=/usr/lib && \
# --with-freetype-dir=/usr/include/freetype2 && \
docker-php-ext-install gd

0 comments on commit 5166faa

Please sign in to comment.