mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Provide a dev Dockerfile that adds XDebug.
This commit is contained in:
parent
9a82f5323b
commit
e3d1d381b0
7
docker/dev/Dockerfile
Normal file
7
docker/dev/Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Inherit from the farmOS 2.0.x image.
|
||||
FROM farmos/farmos:2.0.x
|
||||
|
||||
RUN yes | pecl install xdebug \
|
||||
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
|
||||
&& echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
|
||||
&& echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini
|
Loading…
Reference in a new issue