Commit f4c301dd authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[!!!][TASK] Remove /etc/php/cli-no-xdebug/php.ini from php images

The special php.ini for no-xdebug is obsolete with
xdebug 3: It can be disabled with -dxdebug.mode=off
as php binary argument, or by setting XDEBUG_MODE=off
env var.

Major version raise to 2 on PHP images for this breaking change.
parent 6b62bb72
NAME_PHP72 = typo3/core-testing-php72
MAJOR_PHP72=1
MAJOR_PHP72=2
MINOR_PHP72=0
PATCHLEVEL_PHP72=5
PATCHLEVEL_PHP72=0
NAME_PHP73 = typo3/core-testing-php73
MAJOR_PHP73=1
MAJOR_PHP73=2
MINOR_PHP73=0
PATCHLEVEL_PHP73=5
PATCHLEVEL_PHP73=0
NAME_PHP74 = typo3/core-testing-php74
MAJOR_PHP74=1
MAJOR_PHP74=2
MINOR_PHP74=0
PATCHLEVEL_PHP74=5
PATCHLEVEL_PHP74=0
NAME_PHP80 = typo3/core-testing-php80
MAJOR_PHP80=1
MAJOR_PHP80=2
MINOR_PHP80=0
PATCHLEVEL_PHP80=5
PATCHLEVEL_PHP80=0
NAME_JS = typo3/core-testing-js
MAJOR_JS=1
......
......@@ -43,12 +43,4 @@ RUN apk add --no-cache \
&& echo "xdebug.max_nesting_level = 400" >> $PHP_INI_DIR/conf.d/docker-php-ext-xdebug.ini \
&& echo "apc.enable_cli=1" >> $PHP_INI_DIR/conf.d/docker-php-ext-apcu.ini \
&& echo "apc.slam_defense=0" >> $PHP_INI_DIR/conf.d/docker-php-ext-apcu.ini \
&& mkdir -p /etc/php/cli-no-xdebug/ \
&& php -i | \
grep "\.ini" | \
grep -o -e '\(/[A-Za-z0-9._-]\+\)\+\.ini' | \
grep -v xdebug | \
xargs awk 'FNR==1{print ""}1' | \
grep -v '^;' | \
grep -v '^$' > /etc/php/cli-no-xdebug/php.ini \
&& rm -rf /var/cache/apk/*
......@@ -43,12 +43,4 @@ RUN apk add --no-cache \
&& echo "xdebug.max_nesting_level = 400" >> $PHP_INI_DIR/conf.d/docker-php-ext-xdebug.ini \
&& echo "apc.enable_cli=1" >> $PHP_INI_DIR/conf.d/docker-php-ext-apcu.ini \
&& echo "apc.slam_defense=0" >> $PHP_INI_DIR/conf.d/docker-php-ext-apcu.ini \
&& mkdir -p /etc/php/cli-no-xdebug/ \
&& php -i | \
grep "\.ini" | \
grep -o -e '\(/[A-Za-z0-9._-]\+\)\+\.ini' | \
grep -v xdebug | \
xargs awk 'FNR==1{print ""}1' | \
grep -v '^;' | \
grep -v '^$' > /etc/php/cli-no-xdebug/php.ini \
&& rm -rf /var/cache/apk/*
......@@ -43,12 +43,4 @@ RUN apk add --no-cache \
&& echo "xdebug.max_nesting_level = 400" >> $PHP_INI_DIR/conf.d/docker-php-ext-xdebug.ini \
&& echo "apc.enable_cli=1" >> $PHP_INI_DIR/conf.d/docker-php-ext-apcu.ini \
&& echo "apc.slam_defense=0" >> $PHP_INI_DIR/conf.d/docker-php-ext-apcu.ini \
&& mkdir -p /etc/php/cli-no-xdebug/ \
&& php -i | \
grep "\.ini" | \
grep -o -e '\(/[A-Za-z0-9._-]\+\)\+\.ini' | \
grep -v xdebug | \
xargs awk 'FNR==1{print ""}1' | \
grep -v '^;' | \
grep -v '^$' > /etc/php/cli-no-xdebug/php.ini \
&& rm -rf /var/cache/apk/*
......@@ -43,12 +43,4 @@ RUN apk add --no-cache \
&& echo "xdebug.max_nesting_level = 400" >> $PHP_INI_DIR/conf.d/docker-php-ext-xdebug.ini \
&& echo "apc.enable_cli=1" >> $PHP_INI_DIR/conf.d/docker-php-ext-apcu.ini \
&& echo "apc.slam_defense=0" >> $PHP_INI_DIR/conf.d/docker-php-ext-apcu.ini \
&& mkdir -p /etc/php/cli-no-xdebug/ \
&& php -i | \
grep "\.ini" | \
grep -o -e '\(/[A-Za-z0-9._-]\+\)\+\.ini' | \
grep -v xdebug | \
xargs awk 'FNR==1{print ""}1' | \
grep -v '^;' | \
grep -v '^$' > /etc/php/cli-no-xdebug/php.ini \
&& rm -rf /var/cache/apk/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment