diff options
author | djay <trash@goovy.com> | 2016-02-25 21:56:33 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-03-09 09:02:06 +0100 |
commit | 125460345fe4bd0ed9be48a9fbc0657019637a01 (patch) | |
tree | fec13cb89f1f06c134ef51940587295693cdc9fe /docker/php/Dockerfile | |
parent | d460a7377ab3672cf05ec18301f94c9d66fc5cff (diff) | |
download | wallabag-125460345fe4bd0ed9be48a9fbc0657019637a01.tar.gz wallabag-125460345fe4bd0ed9be48a9fbc0657019637a01.tar.zst wallabag-125460345fe4bd0ed9be48a9fbc0657019637a01.zip |
Add the timezone for PHP docker container
Diffstat (limited to 'docker/php/Dockerfile')
-rw-r--r-- | docker/php/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/php/Dockerfile b/docker/php/Dockerfile index 7c56ae57..c230bc44 100644 --- a/docker/php/Dockerfile +++ b/docker/php/Dockerfile | |||
@@ -5,6 +5,8 @@ RUN apt-get update && apt-get install -y \ | |||
5 | && docker-php-ext-install \ | 5 | && docker-php-ext-install \ |
6 | iconv mcrypt mbstring intl pdo pdo_mysql pdo_pgsql | 6 | iconv mcrypt mbstring intl pdo pdo_mysql pdo_pgsql |
7 | 7 | ||
8 | RUN echo "date.timezone=Europe/Paris" > /usr/local/etc/php/conf.d/date_timezone.ini | ||
9 | |||
8 | RUN usermod -u 1000 www-data | 10 | RUN usermod -u 1000 www-data |
9 | 11 | ||
10 | CMD ["php-fpm"] | 12 | CMD ["php-fpm"] |