]> git.immae.eu Git - github/wallabag/wallabag.git/blame_incremental - docker/php/Dockerfile
Add comment about timezone definition
[github/wallabag/wallabag.git] / docker / php / Dockerfile
... / ...
CommitLineData
1FROM php:fpm
2
3# Default timezone. To change it, use the argument in the docker-compose.yml file
4ARG timezone='Europe/Paris'
5
6RUN apt-get update && apt-get install -y \
7 libmcrypt-dev libicu-dev libpq-dev libxml2-dev \
8 && docker-php-ext-install \
9 iconv mcrypt mbstring intl pdo pdo_mysql pdo_pgsql
10
11RUN echo "date.timezone="$timezone > /usr/local/etc/php/conf.d/date_timezone.ini
12
13RUN usermod -u 1000 www-data
14
15CMD ["php-fpm"]