laravel-api-boilerplate icon indicating copy to clipboard operation
laravel-api-boilerplate copied to clipboard

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

Open ZeroSums opened this issue 5 months ago • 1 comments

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

ZeroSums avatar May 06 '25 16:05 ZeroSums