Re: Debug Build Container Image for GitHub Packages
| From: | Kévin Dunglas | Date: | Mon, 02 Sep 2024 21:59:39 +0000 |
| Subject: | Re: Debug Build Container Image for GitHub Packages | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-125396@lists.php.net to get a copy of this message | ||
This would help the FrankenPHP project a lot!
The build script used for the official images already contains an
environment variable for creating variants containing debugging symbols:
https://github.com/docker-library/php/blob/a15b1e1448d2f99db63f68dc4ce21da9a82f5aad/Dockerfile-linux.template#L406
Basically, all the PHP project has to do is build and publish these debug
images. I can help with that.
Best,
On Mon, Sep 2, 2024 at 4:40 PM Daniil Gentili <daniil.gentili@gmail..com>
wrote:
> +1 on this, this is very much needed, I encountered the need of a debug
> version of the docker-library php image almost every week ever since
> I've started recently, and recently even more, as I've been getting many
> more segfault reports from my users ever since the release of 8.3.11.
>
> Regards,
>
> Daniil Gentili.
>
> On 9/2/24 3:11 PM, Go Kudo wrote:
> > Hi Internals.
> >
> > PHP currently does not provide official container images. Given that
> > DockerHub adequately maintains these and considering the maintenance
> > costs, we haven't felt the need to change the status quo.
> >
> > However, the official DockerHub images lack debug builds, which can be
> > somewhat inconvenient when trying to report bugs or reproduce issues.
> >
> > What if we were to provide debug build container images that are
> > compatible with the official DockerHub images? Fortunately, we already
> > conduct most of our development on GitHub, which has a container
> > registry called Packages.
> >
> > This could be achieved simply by creating a single repository under
> > the php organization on GitHub. What are your thoughts on this?
> >
> > Best Regards.
> > Go Kudo
>