Closed cnizzardini closed 4 days ago
Xdebug does not have a stable release with PIE yet, you need to specify the stability, e.g. pie install xdebug/xdebug:^3.4@beta
(I think, I'm on my phone so can't check)
See https://packagist.org/packages/xdebug/xdebug for compatible versions 👍
Ah well then it seems like some of these ugly alpine deps are still necessary, none the less that works. Here is this for future readers to take what they need:
RUN if [[ "$ENV" != "prod" ]]; then \
apk add git \
&& apk add --no-cache --virtual .php-deps file re2c autoconf make zlib zlib-dev g++ curl linux-headers \
&& curl -o /usr/local/bin/pie -L https://php.github.io/pie/pie-nightly.phar \
&& chmod 766 /usr/local/bin/pie \
&& pie install xdebug/xdebug:^3.4@beta \
&& apk del -f .php-deps; \
fi
Within an alpine docker container. I have tried the most recent nightly build after reading through this issue: #117 but still encounter issues:
Version: