aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker/php
diff options
context:
space:
mode:
authorPascal MARTIN <pmartin@tea-ebook.com>2016-09-30 12:29:37 +0200
committerPascal MARTIN <pmartin@tea-ebook.com>2016-09-30 12:29:37 +0200
commitecdefb11f75cda3dab4c532fddcd7d3729c6ad38 (patch)
tree8f03e5a2db4c379d807a2bf5bc138118adbfe590 /docker/php
parent56f0150e2a57ac0f637bf51e0e034d7e49aed1dd (diff)
downloadwallabag-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/php')
-rw-r--r--docker/php/Dockerfile5
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
4ARG timezone='Europe/Paris' 4ARG timezone='Europe/Paris'
5 5
6RUN apt-get update && apt-get install -y \ 6RUN 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
11RUN echo "date.timezone="$timezone > /usr/local/etc/php/conf.d/date_timezone.ini 12RUN echo "date.timezone="$timezone > /usr/local/etc/php/conf.d/date_timezone.ini
12 13