From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CNL6NOHComRDlAAASxT56A (envelope-from ) for ; Mon, 03 Jul 2023 14:45:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OJvtNOHComSdFwAA9RJhRA (envelope-from ) for ; Mon, 03 Jul 2023 14:45:21 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 988903B4CD for ; Mon, 3 Jul 2023 14:45:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qGIvQ-0005Ge-Pr; Mon, 03 Jul 2023 08:45:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qGIvO-0005BO-5J for guix-patches@gnu.org; Mon, 03 Jul 2023 08:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qGIvN-000740-R7 for guix-patches@gnu.org; Mon, 03 Jul 2023 08:45:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qGIvN-0008Uf-NY for guix-patches@gnu.org; Mon, 03 Jul 2023 08:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64171] [PATCH 0/1] guix: pack: docker add docker-entry-point options Resent-From: Graham Addis Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 Jul 2023 12:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64171 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Graham James Addis , Josselin Poiret , Tobias Geerinckx-Rice , Simon Tournier , Mathieu Othacehe , Christopher Baines , 64171@debbugs.gnu.org, Ricardo Wurmus Received: via spool by 64171-submit@debbugs.gnu.org id=B64171.168838828332607 (code B ref 64171); Mon, 03 Jul 2023 12:45:01 +0000 Received: (at 64171) by debbugs.gnu.org; 3 Jul 2023 12:44:43 +0000 Received: from localhost ([127.0.0.1]:33450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGIv4-0008Tr-OJ for submit@debbugs.gnu.org; Mon, 03 Jul 2023 08:44:43 -0400 Received: from mail-pf1-f172.google.com ([209.85.210.172]:55586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGIv2-0008Tc-KR for 64171@debbugs.gnu.org; Mon, 03 Jul 2023 08:44:41 -0400 Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-666ecb21f86so3628988b3a.3 for <64171@debbugs.gnu.org>; Mon, 03 Jul 2023 05:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688388274; x=1690980274; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2hj8Y7tkwdhwptga2QsTg2JYaBcqvRh4twEEyRnZCUI=; b=eoAraTKbAn0xugTWJePnQ81JjT3s1Kb9xm8uAMeF6j82PH+yNcgkGdd2ebEpWA/zn7 yc6c1XqmWzqw17jps9yaRW6fl1ZO6UMi21BkMVRr/ytf2cKKuGnvKdvbV8+L4UHtKSHN 3M0Cnrx0nChMK4bCkySMGKuB+fozfed4EDeOk6AR9S5fiE5Ui6xirUok9diDe1KnP39d yWovehtNMiWiSSX4GgSJgRKErm7qtvpgNigjtLCQfYj7ws1UR/Gyo4Mr4/lKU2jqlwlU tXJ+iQZ1lgcfNkpu5MWTk4M5oioDEwawanqBP8hXHQ8VjJTvrT+8L9qGwn86iaBUWFE3 O1vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688388274; x=1690980274; h=content-transfer-encoding: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=2hj8Y7tkwdhwptga2QsTg2JYaBcqvRh4twEEyRnZCUI=; b=fiJXvgtPa4Dbu1HFio82G/t1sUlnmPJuNYuTJPdugZ1IIHalkIN+hEa/t9RXgQcTcx MME20obbGyHaqoN2yBBV3ElUqPJEJ4o4ju1zmtSzS6d6UnsZh06vGZ7SaiZgz8Ls3GBd vaJ7bbhl2Z4pFsbRozECKnupJGjPLoxmnCFHLzCSRVL1vAh8EXIU0jQU8X+8VOERuqns 5Nsz9oN8jNhHReICXw3YUOSMWDx6m2vIsIjr+ZPFqVum0Esc+3RPMznC1mtntxiUNtuA 795tOSIK75gFeLKONpjD7qZfpCEm3H9/ZQOmEdo2vMutz2FjNbQH9yY2mLXAm0oCStgg HpKQ== X-Gm-Message-State: AC+VfDx17rKE3FLHl3dXhQxanqJhnzbOECRX0vWNgjJSqrIN3ZueK89E Q45a9Scb3qYhZUCd1lnVhGZLxlM1DiylwULVk9Q= X-Google-Smtp-Source: ACHHUZ7hcMYtrUQpgCnh3EBIylDlGt78jTJyc9GJ7WmIziIBeXzP/Mk0THAQMAE2EiQV4qNOGbXbVtyzeGuFZhuMYsk= X-Received: by 2002:a05:6a20:4cf:b0:126:b174:631 with SMTP id 15-20020a056a2004cf00b00126b1740631mr9587906pzd.30.1688388274244; Mon, 03 Jul 2023 05:44:34 -0700 (PDT) MIME-Version: 1.0 References: <87r0ppqrbx.fsf@gnu.org> In-Reply-To: <87r0ppqrbx.fsf@gnu.org> From: Graham Addis Date: Mon, 3 Jul 2023 13:44:21 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688388321; a=rsa-sha256; cv=none; b=EGlwjsOj5BzKMB24zPo5wspZwcGYgOeXqW99qUd3phdfLi9E9QBx061CeZRSa8F5/nvJsG 0qBMZjeuyfQiq1RtXf5ntR/1ZE4ol+P/sNuPA0N1JUP+onl618v7ELf9h8Nhmb0yKSTkZb FznV8OoW40fZ8WT4joWBbf6o9/Pf/YB5VILjY2OCdzisYxIY0iuput5g2RqqNvzfygQZRi B4dhujKkUEZJqzL4srgIDze/Y2JvIqgx/gaKJYzoUDgwZuwH1ahUU/Ajdecya/JMJs/+eZ 10Way9OD6a/RLpJfzC5gacmmakkZecplP2jCxdrga5rmXOPNFkyj0OeJpdqsug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=eoAraTKb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688388321; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=2hj8Y7tkwdhwptga2QsTg2JYaBcqvRh4twEEyRnZCUI=; b=Kd77R3iQLyV5ffIOD9K7G23BcBvkUTfFtpd50MROfyQk5JzU2W+reAPiboKkPCunWefAht pOiLSzb69vjTK+WIftWBxC0CBsiPUQM6M8uBnyXhb24j3BiDsQxMcufqaqg1cCvvxs5gdf yJHTEtGYIrba8G5RAfuNf7YUZ6X7sehQLz1fy4Klsn6ifK1GS7xdI5HewEkrT4Hknne1Wp GEn7XDphupIvXpCKRUwbhj0nyUpOBqqhRhECRFjdWgV5RIP95tfPEZ30YjjBYntNs4z0eS JiWMaGAeT9neQDlvGekV5aq7y31fyUaQd34rcQTDHakaIcH5VxoU5+rOFUQwpw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=eoAraTKb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.46 X-Spam-Score: -1.46 X-Migadu-Queue-Id: 988903B4CD X-TUID: +tj6ACDpChLs Hi Ludo, Happy to rework it either way. I can't think of any showstoppers off the top of my head. Which option would make the most sense? Thanks, Graham On Mon, 3 Jul 2023 at 10:26, Ludovic Court=C3=A8s wrote: > > Hi, > > Graham James Addis skribis: > > > This patch adds an option to guix pack to allow multiple parameters to > > be passed to the guix pack --format=3Ddocker command. > > > > Currently the although the --entry-point option can be entered multiple > > times, only the last entry is used as the docker ENTRYPOINT. > > > > Using the new --docker-entry-point option will take multiple entries > > and use them in the docker ENTRYPOINT exec form. > > How about this alternative route: support multiple =E2=80=98--entry-point= =E2=80=99 > arguments. The first one is passed to the backend as #:entry-point (as > is currently the case) and extra instances are passed as a list as > #:entry-point-arguments. > > That way one could do: > > guix pack -f docker guile \ > --entry-point=3Dbin/guile --entry-point=3D--version > > Or, perhaps even better, introduce a new =E2=80=98--entry-point-argument= =E2=80=99 (or > =E2=80=98-A=E2=80=99) option. > > The advantage compared to =E2=80=98--docker-entry-point=E2=80=99 is that = it could be > supported by all the backends. > > WDYT? > > Thanks, > Ludo=E2=80=99.