From 10bb167ff4d86e34ae80b752261d4d3ea065bb89 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Tue, 19 Jul 2016 10:17:53 -0400 Subject: [PATCH] Fix failing test by installing gd in gitlab ci test --- build/docker_install.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/build/docker_install.sh b/build/docker_install.sh index d2e3ead8..e2bdfa21 100644 --- a/build/docker_install.sh +++ b/build/docker_install.sh @@ -7,8 +7,15 @@ set -xe # Install git (the php image doesn't have it) which is required by composer apt-get update -yqq -apt-get install git unzip -yqq +apt-get install git unzip libfreetype6 libjpeg62-turbo libmcrypt4 libpng12-0 sendmail -yqq # Install phpunit, the tool that we will use for testing curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar -chmod +x /usr/local/bin/phpunit \ No newline at end of file +chmod +x /usr/local/bin/phpunit + +# Install gd +docker-php-ext-configure gd --enable-gd-native-ttf --with-jpeg-dir=/usr/lib/x86_64-linux-gnu --with-png-dir=/usr/lib/x86_64-linux-gnu --with-freetype-dir=/usr/lib/x86_64-linux-gnu +docker-php-ext-install gd +docker-php-ext-install mcrypt +docker-php-ext-install mbstring +docker-php-ext-install zip \ No newline at end of file