aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/php/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/php/Dockerfile b/docker/php/Dockerfile
index 7c56ae57..29d27c3a 100644
--- a/docker/php/Dockerfile
+++ b/docker/php/Dockerfile
@@ -1,10 +1,15 @@
1FROM php:fpm 1FROM php:fpm
2 2
3# Default timezone. To change it, use the argument in the docker-compose.yml file
4ARG timezone='Europe/Paris'
5
3RUN apt-get update && apt-get install -y \ 6RUN apt-get update && apt-get install -y \
4 libmcrypt-dev libicu-dev libpq-dev libxml2-dev \ 7 libmcrypt-dev libicu-dev libpq-dev libxml2-dev \
5 && docker-php-ext-install \ 8 && docker-php-ext-install \
6 iconv mcrypt mbstring intl pdo pdo_mysql pdo_pgsql 9 iconv mcrypt mbstring intl pdo pdo_mysql pdo_pgsql
7 10
11RUN echo "date.timezone="$timezone > /usr/local/etc/php/conf.d/date_timezone.ini
12
8RUN usermod -u 1000 www-data 13RUN usermod -u 1000 www-data
9 14
10CMD ["php-fpm"] 15CMD ["php-fpm"]