aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/php/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/php/Dockerfile b/docker/php/Dockerfile
index c43e07fd..171e12fc 100644
--- a/docker/php/Dockerfile
+++ b/docker/php/Dockerfile
@@ -2,6 +2,7 @@ FROM php:7.2-fpm
2 2
3# Default timezone. To change it, use the argument in the docker-compose.yml file 3# Default timezone. To change it, use the argument in the docker-compose.yml file
4ARG timezone='Europe/Paris' 4ARG timezone='Europe/Paris'
5ARG memorylimit='512M'
5 6
6RUN apt-get update && apt-get install -y \ 7RUN apt-get update && apt-get install -y \
7 libmcrypt-dev \ 8 libmcrypt-dev \
@@ -32,6 +33,7 @@ RUN docker-php-ext-install \
32RUN printf "\n" | pecl install imagick && docker-php-ext-enable imagick 33RUN printf "\n" | pecl install imagick && docker-php-ext-enable imagick
33 34
34RUN echo "date.timezone="$timezone > /usr/local/etc/php/conf.d/date_timezone.ini 35RUN echo "date.timezone="$timezone > /usr/local/etc/php/conf.d/date_timezone.ini
36RUN echo "memory_limit ="$memorylimit > /usr/local/etc/php/conf.d/memory_limit.ini
35 37
36RUN usermod -u 1000 www-data 38RUN usermod -u 1000 www-data
37 39