Skip to content

[BUG] Init Docker Stack Fails with Various Errors [php-ext-json && php-ext-tokenizer] #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ZeroSums opened this issue May 6, 2025 · 1 comment

Comments

@ZeroSums
Copy link

ZeroSums commented May 6, 2025

Version Information
PHP Version: 8.4
Package Version (l5-api): latest?

Describe the bug
When utilizing the provided docker stack, specific dependencies fail when running docker compose up. Specifically,

RUN docker-php-ext-install json
ERROR:

4.696 cp: cannot stat 'modules/*': No such file or directory
4.697 make: *** [Makefile:86: install-modules] Error 1

&
RUN docker-php-ext-install tokenizer
ERROR:

4.042 config.status: creating config.h
4.057 make: *** No rule to make target '/usr/src/php/ext/tokenizer/Zend/zend_language_parser.y', needed by '/usr/src/php/ext/tokenizer/Zend/zend_language_parser.c'.  Stop.
------
failed to solve: process "/bin/sh -c docker-php-ext-install tokenizer" did not complete successfully: 
exit code: 2

To Reproduce
Not entirely sure, I followed the repo's wiki verbatim, used composer to create the project, and merely ran the docker shell.

Expected behavior
I expected the docker stack to start, per the docs.

Additional context
N/A

@specialtactics
Copy link
Owner

Hey @ZeroSums thanks for your report. It's an interesting one for sure, all of the extensions are quite valid, but after playing around with it, I removed a bunch which are nowdays enabled by default ,and it seems to work now, so who knows.

I've tagged my updates, you can try again and let me know if you run into any issues.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants