diff --git a/apache/Dockerfile b/apache/Dockerfile index 2ad1241..d9c19b0 100644 --- a/apache/Dockerfile +++ b/apache/Dockerfile @@ -10,6 +10,8 @@ RUN set -ex; \ apt-get install --no-install-recommends -y \ \ libldap2-dev \ + libfreetype6-dev \ + libjpeg-dev \ zlib1g-dev \ libc-client-dev \ libkrb5-dev \ @@ -26,6 +28,7 @@ RUN set -ex; \ # Install PHP Plugins and Configure PHP imap plugin RUN set -ex; \ + docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \ docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \ docker-php-ext-install -j5 \ gd \ diff --git a/fpm-alpine/Dockerfile b/fpm-alpine/Dockerfile index 8a9e4dd..78e9d56 100644 --- a/fpm-alpine/Dockerfile +++ b/fpm-alpine/Dockerfile @@ -6,7 +6,9 @@ ARG sha256_checksum='1bed7812431d3fb268821dd9a40a8d9b2924f06f7b16e5f02a6cc2162c7 # Install OS dependencies RUN set -ex; \ apk add --no-cache --virtual .build-deps \ + freetype-dev \ libpng-dev \ + libjpeg-turbo-dev \ openldap-dev \ imap-dev \ postgresql-dev && \ @@ -14,6 +16,7 @@ RUN set -ex; \ # Install PHP Plugins RUN set -ex; \ + docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr ; \ docker-php-ext-configure imap --with-imap-ssl && \ docker-php-ext-install \ gd \ diff --git a/fpm/Dockerfile b/fpm/Dockerfile index a8db454..bf4636c 100644 --- a/fpm/Dockerfile +++ b/fpm/Dockerfile @@ -10,6 +10,8 @@ RUN set -ex; \ apt-get install --no-install-recommends -y \ \ libldap2-dev \ + libfreetype6-dev \ + libjpeg-dev \ zlib1g-dev \ libc-client-dev \ libkrb5-dev \ @@ -26,6 +28,7 @@ RUN set -ex; \ # Install PHP Plugins and Configure PHP imap plugin RUN set -ex; \ + docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \ docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \ docker-php-ext-install -j5 \ gd \