From 125460345fe4bd0ed9be48a9fbc0657019637a01 Mon Sep 17 00:00:00 2001 From: djay Date: Thu, 25 Feb 2016 21:56:33 +0100 Subject: [PATCH] Add the timezone for PHP docker container --- docker/php/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/php/Dockerfile b/docker/php/Dockerfile index 7c56ae573..c230bc445 100644 --- a/docker/php/Dockerfile +++ b/docker/php/Dockerfile @@ -5,6 +5,8 @@ RUN apt-get update && apt-get install -y \ && docker-php-ext-install \ iconv mcrypt mbstring intl pdo pdo_mysql pdo_pgsql +RUN echo "date.timezone=Europe/Paris" > /usr/local/etc/php/conf.d/date_timezone.ini + RUN usermod -u 1000 www-data CMD ["php-fpm"]