diff options
author | Pascal MARTIN <pmartin@tea-ebook.com> | 2016-09-30 12:29:37 +0200 |
---|---|---|
committer | Pascal MARTIN <pmartin@tea-ebook.com> | 2016-09-30 12:29:37 +0200 |
commit | ecdefb11f75cda3dab4c532fddcd7d3729c6ad38 (patch) | |
tree | 8f03e5a2db4c379d807a2bf5bc138118adbfe590 /docker | |
parent | 56f0150e2a57ac0f637bf51e0e034d7e49aed1dd (diff) | |
download | wallabag-ecdefb11f75cda3dab4c532fddcd7d3729c6ad38.tar.gz wallabag-ecdefb11f75cda3dab4c532fddcd7d3729c6ad38.tar.zst wallabag-ecdefb11f75cda3dab4c532fddcd7d3729c6ad38.zip |
Add PHP 'gd' extension to docker
The gd extension is required to export entries as EPUB.
Diffstat (limited to 'docker')
-rw-r--r-- | docker/php/Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docker/php/Dockerfile b/docker/php/Dockerfile index 29d27c3a..1fb1f298 100644 --- a/docker/php/Dockerfile +++ b/docker/php/Dockerfile | |||
@@ -4,9 +4,10 @@ FROM php:fpm | |||
4 | ARG timezone='Europe/Paris' | 4 | ARG timezone='Europe/Paris' |
5 | 5 | ||
6 | RUN apt-get update && apt-get install -y \ | 6 | RUN apt-get update && apt-get install -y \ |
7 | libmcrypt-dev libicu-dev libpq-dev libxml2-dev \ | 7 | libmcrypt-dev libicu-dev libpq-dev libxml2-dev libpng12-dev libjpeg-dev \ |
8 | && /usr/local/bin/docker-php-ext-configure gd --with-jpeg-dir=/usr/include \ | ||
8 | && docker-php-ext-install \ | 9 | && docker-php-ext-install \ |
9 | iconv mcrypt mbstring intl pdo pdo_mysql pdo_pgsql | 10 | iconv mcrypt mbstring intl pdo pdo_mysql pdo_pgsql gd |
10 | 11 | ||
11 | RUN echo "date.timezone="$timezone > /usr/local/etc/php/conf.d/date_timezone.ini | 12 | RUN echo "date.timezone="$timezone > /usr/local/etc/php/conf.d/date_timezone.ini |
12 | 13 | ||