We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8c685c commit 52afb1aCopy full SHA for 52afb1a
1 file changed
Dockerfile
@@ -31,8 +31,10 @@ RUN git clone --recursive --depth=1 https://github.com/NoiseByNorthwest/php-spx.
31
rm -rf /tmp/php-spx
32
33
# Install and configure Xdebug
34
-RUN pecl install xdebug && docker-php-ext-enable xdebug && \
+RUN pecl install xdebug && \
35
+ touch /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
36
+ echo "zend_extension=xdebug" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
37
echo "xdebug.mode=debug" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
38
echo "xdebug.client_host=172.20.0.1" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
39
echo "xdebug.idekey=dicoding-debug" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
- rm -rf /tmp/pear
40
+ rm -rf /tmp/pear
0 commit comments