File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,8 +17,10 @@ RUN apk --update upgrade \
1717RUN pickle install apcu-5.1.19
1818
1919ADD etc/infrastructure/php/extensions/amqp.sh /root/install-amqp.sh
20+ ADD etc/infrastructure/php/extensions/xdebug.sh /root/install-xdebug.sh
2021RUN apk add git
2122RUN sh /root/install-amqp.sh
23+ RUN sh /root/install-xdebug.sh
2224
2325RUN docker-php-ext-enable \
2426 amqp \
Original file line number Diff line number Diff line change 11zend_extension = xdebug.so
22
33; Debugging
4- xdebug.remote_enable = 1 ;
5- xdebug.remote_connect_back = 1 ;
6- xdebug.remote_autostart = 1 ;
7- xdebug.remote_port = 9001;
8- xdebug.remote_host = host.docker.internal
4+ xdebug.mode =debug
5+ xdebug.start_with_request = yes
6+ xdebug.discover_client_host = yes
7+ xdebug.client_port = 9001
8+ xdebug.client_host = host.docker.internal
99
1010; Profiling
11- xdebug.profiler_enable = 0;
12- xdebug.profiler_enable_trigger = 1;
13- xdebug.profiler_output_dir = " /tmp/xdebug" ;
11+ xdebug.mode =profile
12+ xdebug.start_with_request =trigger
1413
15- xdebug.max_nesting_level = 500;
14+ xdebug.output_dir = " /tmp/xdebug"
15+ xdebug.max_nesting_level = 500
Original file line number Diff line number Diff line change 1- git clone https://github.com/php-amqp/php-amqp.git
1+ git clone -n https://github.com/php-amqp/php-amqp.git
22cd php-amqp
3+ git checkout 96cd5cb5eddd3db2faaa3643dad2fe4677d7c438
34phpize
45./configure
56make
Original file line number Diff line number Diff line change 1+ git clone -n https://github.com/xdebug/xdebug.git
2+ cd xdebug
3+ git checkout 592ab9fa10cfa132623489511e92ef69fb91744c
4+ phpize
5+ ./configure
6+ make
7+ make install
You can’t perform that action at this time.
0 commit comments