mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
fix xdebug cli
This commit is contained in:
parent
830155b687
commit
96950e6d06
5 changed files with 6 additions and 0 deletions
|
|
@ -2,4 +2,6 @@
|
||||||
|
|
||||||
cd $WEBROOT
|
cd $WEBROOT
|
||||||
|
|
||||||
|
export XDEBUG_SESSION=haze
|
||||||
|
|
||||||
phpunit --configuration $WEBROOT/tests/phpunit-autotest.xml $@
|
phpunit --configuration $WEBROOT/tests/phpunit-autotest.xml $@
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,7 @@ RUN pecl install apcu \
|
||||||
&& echo "xdebug.start_with_request=trigger" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
&& echo "xdebug.start_with_request=trigger" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
||||||
&& echo "xdebug.remote_port=9000" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
&& echo "xdebug.remote_port=9000" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
||||||
&& echo "xdebug.discover_client_host=true" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
&& echo "xdebug.discover_client_host=true" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
||||||
|
&& echo "xdebug.client_host=hazehost" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
||||||
&& echo "memory_limit = 512M" > $PHP_INI_DIR/conf.d/memory_limit.ini
|
&& echo "memory_limit = 512M" > $PHP_INI_DIR/conf.d/memory_limit.ini
|
||||||
|
|
||||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,7 @@ RUN pecl install apcu \
|
||||||
&& echo "xdebug.start_with_request=trigger" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
&& echo "xdebug.start_with_request=trigger" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
||||||
&& echo "xdebug.remote_port=9000" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
&& echo "xdebug.remote_port=9000" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
||||||
&& echo "xdebug.discover_client_host=true" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
&& echo "xdebug.discover_client_host=true" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
||||||
|
&& echo "xdebug.client_host=hazehost" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
||||||
&& echo "memory_limit = 512M" > $PHP_INI_DIR/conf.d/memory_limit.ini
|
&& echo "memory_limit = 512M" > $PHP_INI_DIR/conf.d/memory_limit.ini
|
||||||
|
|
||||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,7 @@ RUN pecl install apcu \
|
||||||
&& echo "xdebug.start_with_request=trigger" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
&& echo "xdebug.start_with_request=trigger" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
||||||
&& echo "xdebug.remote_port=9000" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
&& echo "xdebug.remote_port=9000" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
||||||
&& echo "xdebug.discover_client_host=true" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
&& echo "xdebug.discover_client_host=true" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
||||||
|
&& echo "xdebug.client_host=hazehost" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
||||||
&& echo "memory_limit = 512M" > $PHP_INI_DIR/conf.d/memory_limit.ini
|
&& echo "memory_limit = 512M" > $PHP_INI_DIR/conf.d/memory_limit.ini
|
||||||
|
|
||||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,7 @@ RUN pecl install apcu \
|
||||||
&& echo "xdebug.start_with_request=trigger" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
&& echo "xdebug.start_with_request=trigger" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
||||||
&& echo "xdebug.client_port=9000" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
&& echo "xdebug.client_port=9000" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
||||||
&& echo "xdebug.discover_client_host=true" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
&& echo "xdebug.discover_client_host=true" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
||||||
|
&& echo "xdebug.client_host=hazehost" >> $PHP_INI_DIR/conf.d/xdebug.ini \
|
||||||
&& echo "memory_limit = 512M" > $PHP_INI_DIR/conf.d/memory_limit.ini
|
&& echo "memory_limit = 512M" > $PHP_INI_DIR/conf.d/memory_limit.ini
|
||||||
|
|
||||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue