[php-src] Issue #16110: Proper development container
| From: | nielsdos | Date: | Sat, 28 Sep 2024 21:40:43 +0000 |
| Subject: | [php-src] Issue #16110: Proper development container | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-247931@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/16110
Author: nielsdos
### Description
It's too difficult to set up a consistent PHP development environment when involving code that
needs external servers, like database providers.
I would like an all-in-one Docker container that has all the software necessary to compile PHP with
all extensions, _and_ includes database servers that run in the background so I can run tests out of
the box. These should be set up with the right credentials and the right environment variables
should exist such that the test suite can connect to these databases. All with zero extra
configuration, working out of the box.
I often just skip working on database stuff because it's too much of a PITA to set up things.
Working on bugfixes is also frustrating because of this. Copying from the GitHub CI configuration is
possible but also not a particularly fun experience.