...
 
Commits (2)
......@@ -10,6 +10,7 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
RUN apt-get update && \
apt-get install -y autoconf dpkg dpkg-dev file g++ gcc make pkgconf re2c && \
pecl install xdebug && \
chmod 777 /usr/local/etc/php/conf.d/ && \
rm -rf /var/lib/apt/lists/*
# TODO: Remove packages again, currently apt will bail out with:
# "WARNING: The following essential packages will be removed.
......
#!/bin/sh
#!/bin/bash
set -o errexit
set -o pipefail
# must be enabled as zend_extension, so just echo it instead of loading with php-ext-enable
echo "zend_extension=xdebug.so
xdebug.remote_port=${XDEBUG_REMOTE_PORT:-9000}
xdebug.remote_enable=${XDEBUG_REMOTE_ENABLE:-1}
......