Skip to content
Snippets Groups Projects
Commit 793c9276 authored by Andrey Postnikov's avatar Andrey Postnikov
Browse files

Issue #3404084: add pcov and fix docker-php-ext-enable (8.2)

- pcov extension is not enabled by default
- use `docker-php-ext-enable pcov` to enable it
- add xdebug
parent d3f12cc3
Branches
No related tags found
No related merge requests found
Pipeline #152830 passed
......@@ -125,8 +125,8 @@ RUN set -xe &&\
make install &&\
cd / && rm -fr "$buildDir"
# install pecl extensions for apcu, xdebug, and yaml
RUN pecl install APCu-5.1.23 yaml-2.2.3 \
# install pecl extensions for apcu, pcov, xdebug, and yaml
RUN pecl install APCu-5.1.23 pcov-1.0.11 xdebug-3.3.2 yaml-2.2.3 \
&&\
# stript .debug files out of executables
echo '\
......
......@@ -58,7 +58,7 @@ if [ -z "$modules" ]; then
fi
for module in $modules; do
if nm -g "$module" | grep -q ' zend_extension_entry$'; then
if [ -z "$(php -dzend_extension="$module" -v 2>&1 >/dev/null)" ]; then
# https://wiki.php.net/internals/extensions#loading_zend_extensions
line="zend_extension=$(readlink -f "$module")"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment