aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/php/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/php/Dockerfile b/docker/php/Dockerfile
index c230bc44..b43d40b5 100644
--- a/docker/php/Dockerfile
+++ b/docker/php/Dockerfile
@@ -1,11 +1,13 @@
1FROM php:fpm 1FROM php:fpm
2 2
3ARG timezone='Europe/Paris'
4
3RUN apt-get update && apt-get install -y \ 5RUN apt-get update && apt-get install -y \
4 libmcrypt-dev libicu-dev libpq-dev libxml2-dev \ 6 libmcrypt-dev libicu-dev libpq-dev libxml2-dev \
5 && docker-php-ext-install \ 7 && docker-php-ext-install \
6 iconv mcrypt mbstring intl pdo pdo_mysql pdo_pgsql 8 iconv mcrypt mbstring intl pdo pdo_mysql pdo_pgsql
7 9
8RUN echo "date.timezone=Europe/Paris" > /usr/local/etc/php/conf.d/date_timezone.ini 10RUN echo "date.timezone="$timezone > /usr/local/etc/php/conf.d/date_timezone.ini
9 11
10RUN usermod -u 1000 www-data 12RUN usermod -u 1000 www-data
11 13