File tree Expand file tree Collapse file tree 12 files changed +124
-107
lines changed
Expand file tree Collapse file tree 12 files changed +124
-107
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ pm.status_path = /status
1414
1515user = ${PHP_USER}
1616group = ${PHP_GROUP}
17+
Original file line number Diff line number Diff line change @@ -69,11 +69,6 @@ RUN pecl install mcrypt-1.0.2 \
6969RUN yes '' | pecl install redis-4.3.0 \
7070&& /usr/sbin/phpenmod redis
7171
72- RUN sed -i '/memory_limit = 128M/c memory_limit = 256M' /etc/php/${PHP_VERSION}/fpm/php.ini \
73- && sed -i '/;date.timezone =/c date.timezone = Europe\/ Copenhagen' /etc/php/${PHP_VERSION}/fpm/php.ini \
74- && sed -i '/upload_max_filesize = 2M/c upload_max_filesize = 16M' /etc/php/${PHP_VERSION}/fpm/php.ini \
75- && sed -i '/post_max_size = 8M/c post_max_size = 20M' /etc/php/${PHP_VERSION}/fpm/php.ini
76-
7772# Install composer (both composer version as set symlink to right version in entry-point)
7873ADD https://getcomposer.org/composer.phar /usr/local/bin/composer1
7974ADD https://getcomposer.org/composer.phar /usr/local/bin/composer2
Original file line number Diff line number Diff line change 22{{ if ne $mode " off" }}
33zend_extension= xdebug.so
44xdebug.max_nesting_level = {{ getenv " XDEBUG_MAX_NESTING_LEVEL" " 256" }}
5+ {{$session := getenv " XDEBUG_SESSION" }}
6+ {{ if eq $session " 1" }}
7+ xdebug.client_host = {{ getenv " XDEBUG_CLIENT_HOST" " host.docker.internal" }}
8+ xdebug.start_with_request = {{ getenv " XDEBUG_WITH_REQUEST" " yes" }}
9+ {{ end }}
510
611{{ if eq $mode " profile" }}
712xdebug.profiler_append = {{ getenv " XDEBUG_PROFILER_APPEND" " 0" }}
Original file line number Diff line number Diff line change @@ -67,11 +67,6 @@ COPY etc/ /etc/
6767RUN yes '' | pecl install redis-4.3.0 \
6868&& /usr/sbin/phpenmod redis
6969
70- RUN sed -i '/memory_limit = 128M/c memory_limit = 256M' /etc/php/${PHP_VERSION}/fpm/php.ini \
71- && sed -i '/;date.timezone =/c date.timezone = Europe\/ Copenhagen' /etc/php/${PHP_VERSION}/fpm/php.ini \
72- && sed -i '/upload_max_filesize = 2M/c upload_max_filesize = 16M' /etc/php/${PHP_VERSION}/fpm/php.ini \
73- && sed -i '/post_max_size = 8M/c post_max_size = 20M' /etc/php/${PHP_VERSION}/fpm/php.ini
74-
7570# Install composer (both composer version as set symlink to right version in entry-point)
7671ADD https://getcomposer.org/composer.phar /usr/local/bin/composer1
7772ADD https://getcomposer.org/composer.phar /usr/local/bin/composer2
Original file line number Diff line number Diff line change 22{{ if ne $mode " off" }}
33zend_extension= xdebug.so
44xdebug.max_nesting_level = {{ getenv " XDEBUG_MAX_NESTING_LEVEL" " 256" }}
5+ {{$session := getenv " XDEBUG_SESSION" }}
6+ {{ if eq $session " 1" }}
7+ xdebug.client_host = {{ getenv " XDEBUG_CLIENT_HOST" " host.docker.internal" }}
8+ xdebug.start_with_request = {{ getenv " XDEBUG_WITH_REQUEST" " yes" }}
9+ {{ end }}
510
611{{ if eq $mode " profile" }}
712xdebug.profiler_append = {{ getenv " XDEBUG_PROFILER_APPEND" " 0" }}
You can’t perform that action at this time.
0 commit comments