Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125396 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 7A6901A00BD for ; Mon, 2 Sep 2024 21:59:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1725314510; bh=WP+31Pi9P4Bsn59hFnguq+5he/SFR3gBkkmnD4Em9+E=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Ddryvis7SrnZIq2LLCxLDvHz7JTEmemXoKjyZcrOXTKFa7JiXDbt7yLwnTaYAMpk/ eVDmCCXT+oA8G6GLiLKXFW5zv1duoFz8dypizv/LoZawFv6nPjD+LQ2k6A7ob+rVQA Hu/3wVJIsDMesoyWae3MgoVDT1vihHVCNDk6Es4LjhlaoU8rpFGIXj2T2eSxKWjMbE JkL+oAi4RuZF68VvSlvBQ87J4CQvVb2Qlbt2SGVlnGg81yCADezc4nE9OBTuz8zo3s aVTcwRDgzzuqoQmcEE3haimeg9dQ6d+ZOH9cm5Abd0NQ+6yADd7gvnApy1R3+JSzLn KxRDf6Hraf63w== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 66B0B18007A for ; Mon, 2 Sep 2024 22:01:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 2 Sep 2024 22:01:48 +0000 (UTC) Received: by mail-qk1-f175.google.com with SMTP id af79cd13be357-7a8125458e4so222403885a.3 for ; Mon, 02 Sep 2024 14:59:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunglas.fr; s=google; t=1725314391; x=1725919191; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=WP+31Pi9P4Bsn59hFnguq+5he/SFR3gBkkmnD4Em9+E=; b=cBlezx8kC1VuoeEdHxJ7Bvu5M9jpZVVE3HKAA6qfztFSNVyOBIqpkPbmOQjnE6ew2D HenVu3BsbThntPt6sMq/OjbNbSy8XsjOWqIE29JUMcMgDdw6F0oarvLntxOs3Ud+cLve /z7+DWCxGmwwcW6pRvdxe6Xu5TiORrjg+J+U73P2k1NmgvLKeWTb7AIU/kPcluPTp0sS fU14r7dhWXJ6gsw7JVSMtaq22iylziMsrBxUJd56fzFjeEHhzGyrQlrxSO0aMiNKxgac TcQ3SqJHZVIcit247yu0YRtJaAK/O/OmaDjJnNoJoiqlPH7GznSNNnurE/Fl3UNLjlyg JuCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725314391; x=1725919191; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WP+31Pi9P4Bsn59hFnguq+5he/SFR3gBkkmnD4Em9+E=; b=TPQTPEvFoCnVDb886d1oSVLJrA7MhujDbotZ04oYjh1l6NAaad5zy9/yH9bBwm5C0E DiyOBN2OCzKyJbf2ut9cNzr2HPR4tSGF27w81hnlaijAkO/d1iVhGFKpjrw6ZELoOF5F pWAa0PA/0tpmMQ5+0/FAg0uSi0welaMOw+JOE9HQIOXXkOl6Td71d/M4/EuJRDaUIc+w 6YBCyJyOhXryHmfyHF3Npyie3Yh8/S1yYW5a1Ji2nRe8KM5odBV0eo5xnrH4celR6nw0 3M8IHv2pZADQ/O6TRKt4xb/yT/zZiJGxs+rG8AQBnx3n2sGx4rs3r9Ep3BpUQeVwD+ci bUWQ== X-Gm-Message-State: AOJu0YxscN+LY17KZpe60E13Mt6jqzGMsjOsyamRIepWZQ4TLWQHFzmr pRuXEEpvw8pnaS5lK/7za2Y1BGNJZgtIQHhO/DKDGKOwfitqHtednXwjNhsvl9YpWB8nB4GLOxp 6Muu+U96sX2jagSQNglPZ2Vjdb3Bhs6rMrp6EIw== X-Google-Smtp-Source: AGHT+IFMlP0rbK3CearbqRSVMlX3gFsZFL+3NagJ4wfAt9AKp2uvt71xY06hLacABFthzv9DMXD8x6fcwZU9ljqnnGQ= X-Received: by 2002:a05:6214:3990:b0:6c3:6e9b:d1e3 with SMTP id 6a1803df08f44-6c36e9bd487mr24354406d6.32.1725314390846; Mon, 02 Sep 2024 14:59:50 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <58ed6dbf-5659-4c90-9a6f-074113f9708f@gmail.com> In-Reply-To: <58ed6dbf-5659-4c90-9a6f-074113f9708f@gmail.com> Date: Mon, 2 Sep 2024 23:59:39 +0200 Message-ID: Subject: Re: [PHP-DEV] Debug Build Container Image for GitHub Packages To: Daniil Gentili Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="00000000000064874506212a0f33" From: kevin@dunglas.fr (=?UTF-8?Q?K=C3=A9vin_Dunglas?=) --00000000000064874506212a0f33 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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/a15b1e1448d2f99db63f68dc4ce21da9= a82f5aad/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=E2=80=AFPM Daniil Gentili 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 > --00000000000064874506212a0f33 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This would help the FrankenPHP project a lot!

The build script used for the official images already con= tains an environment variable for creating variants containing debugging sy= mbols: https://github.c= om/docker-library/php/blob/a15b1e1448d2f99db63f68dc4ce21da9a82f5aad/Dockerf= ile-linux.template#L406

Basically, all the PHP proj= ect has to do is build and publish these debug images. I can help with that= .

Best,

On Mon, Sep 2, 2024 at 4:40=E2=80=AFPM = Daniil Gentili <daniil.genti= li@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 <= br> > DockerHub adequately maintains these and considering the maintenance <= br> > 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.<= br> >
> 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
--00000000000064874506212a0f33--