]> git.immae.eu Git - github/wallabag/wallabag.git/blame - docker/php/Dockerfile
Ajout du mod 'rewrite' de Apache
[github/wallabag/wallabag.git] / docker / php / Dockerfile
CommitLineData
540ef5e0
FM
1FROM php:fpm
2
b80841f2 3# Default timezone. To change it, use the argument in the docker-compose.yml file
612f5f1e 4ARG timezone='Europe/Paris'
5
540ef5e0 6RUN apt-get update && apt-get install -y \
ecdefb11
PM
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 \
540ef5e0 9 && docker-php-ext-install \
ecdefb11 10 iconv mcrypt mbstring intl pdo pdo_mysql pdo_pgsql gd
540ef5e0 11
612f5f1e 12RUN echo "date.timezone="$timezone > /usr/local/etc/php/conf.d/date_timezone.ini
12546034 13
540ef5e0
FM
14RUN usermod -u 1000 www-data
15
16CMD ["php-fpm"]