From b4618938345f9848ec2cde3a2e9d6d8567e6035a Mon Sep 17 00:00:00 2001 From: Tom Wiesing Date: Tue, 27 Oct 2020 10:49:09 +0100 Subject: [PATCH] barrel/Dockerfile: Add 'gd' freetype support --- .../resources/compose/barrel/Dockerfile | 30 ++++++++++++++----- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/distillery/resources/compose/barrel/Dockerfile b/distillery/resources/compose/barrel/Dockerfile index faa48cb..91b5afe 100644 --- a/distillery/resources/compose/barrel/Dockerfile +++ b/distillery/resources/compose/barrel/Dockerfile @@ -3,19 +3,33 @@ WORKDIR /var/www # install and enable the various required php extension RUN apt-get update && apt-get install -y \ - libcurl4-openssl-dev curl \ - libpng-dev \ - libicu-dev \ - libxml2-dev \ - libssh2-1-dev \ - sudo \ - zip unzip \ + curl \ default-mysql-client \ - imagemagick \ git \ + imagemagick \ + libcurl4-openssl-dev \ + libfreetype6-dev \ + libicu-dev \ + libjpeg62-turbo-dev \ + libpng-dev \ + libssh2-1-dev \ + libwebp-dev \ + libxml2-dev \ + libxpm-dev \ + sudo \ + unzip \ vim \ + zip \ && \ docker-php-source extract && \ + docker-php-ext-configure gd \ + --enable-gd \ + --with-webp \ + --with-jpeg \ + --with-xpm \ + --with-freetype \ + --enable-gd-jis-conv \ + && \ docker-php-ext-install \ curl \ gd \