Re: Debug Build Container Image for GitHub Packages
| From: | Ben Ramsey | Date: | Tue, 03 Sep 2024 00:18:30 +0000 |
| Subject: | Re: Debug Build Container Image for GitHub Packages | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-125400@lists.php.net to get a copy of this message | ||
> On Sep 2, 2024, at 18:53, Bob Weinand <bobwei9@hotmail.com> wrote:
>
> On 3.9.2024 01:44:21, Ben Ramsey wrote:
>>> On Sep 2, 2024, at 08:11, Go Kudo <zeriyoshi@gmail.com> 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
>>
>> Since the folks who do the DockerHub builds already have all the infrastructure set up to
>> maintain the images, I think it might be easier to work with them to have them provide debug builds.
>>
>> Perhaps there’s someone from that team on this list who can speak to that?
>>
>> Cheers,
>> Ben
>
> Hey Ben,
>
> what I'd _really_ like to see is not debug-builds, but debug symbols.
>
> Basically, you'd have a docker image "php:8.3" and a docker image
> "php:8.3-dbgsym". The former image then just has a gnu_debuglink. The latter has the
> actual symbols file included and is based on the former.
>
>
> Thanks,
>
> Bob
I think the team who manages the Docker builds could also provide images with debug symbols. Since
they’re already equipped for it and have the experience, why don’t we partner with them to
provide these images to the community?
Cheers,
Ben
Cheers,
Ben
Attachment: [application/pgp-signature] Message signed with OpenPGP signature.asc
Attachment: [application/pgp-signature] Message signed with OpenPGP signature.asc