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 MC7XLgF3kGSEyAAASxT56A (envelope-from ) for ; Mon, 19 Jun 2023 17:40:49 +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 ILPkLgF3kGTKaAAA9RJhRA (envelope-from ) for ; Mon, 19 Jun 2023 17:40:49 +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 4CCB711577 for ; Mon, 19 Jun 2023 17:40:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBGzi-0000Zk-NH; Mon, 19 Jun 2023 11:40:42 -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 1qBGyA-0000Im-04 for guix-patches@gnu.org; Mon, 19 Jun 2023 11:39:06 -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 1qBGy8-00082i-Oy; Mon, 19 Jun 2023 11:39:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBGy5-00032P-Oa; Mon, 19 Jun 2023 11:39: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 James Addis Original-Sender: "Debbugs-submit" Resent-CC: mail@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Mon, 19 Jun 2023 15:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64171 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64171@debbugs.gnu.org Cc: Graham James Addis , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by submit@debbugs.gnu.org id=B.168718910711608 (code B ref -1); Mon, 19 Jun 2023 15:39:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jun 2023 15:38:27 +0000 Received: from localhost ([127.0.0.1]:57033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBGxX-00031A-GH for submit@debbugs.gnu.org; Mon, 19 Jun 2023 11:38:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:52722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBGxW-000312-LF for submit@debbugs.gnu.org; Mon, 19 Jun 2023 11:38:26 -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 1qBGxV-0000FN-03 for guix-patches@gnu.org; Mon, 19 Jun 2023 11:38:25 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBGxQ-0007wy-7m for guix-patches@gnu.org; Mon, 19 Jun 2023 11:38:23 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3f9b4a715d9so4090215e9.0 for ; Mon, 19 Jun 2023 08:38:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687189096; x=1689781096; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=FI+hNte4KQ89X9MLPossu7pYNhz0kIRBjR7VmzayIjA=; b=EK2XuRaOmgwMFh/uVWoXSAirLQ/QqFPo6OPZAOYun5H1kH3ksoOj22XYREpDtChEzg 4bgaSXKMoqKwTVfBgLdEy67+YQK+zYGhdddTbI2nuYUEk5cZeiPZQgBbRoifoUvFhu1r L2kKh1g9NNo+qIWAVVZfTJuaWtJMCV2RWhcZ4MaTPAxxsXCs1wECtCmaj8X4v0dEqA5M euP4Xh5JPlT1kWqkzbyJst4HOQgyeBPnKgsJYkcrFrkXgT1o/ZoEcV1lrgUridgGdBZo y8oVYjJvwoEmx7k5kFYkAsnanijYN+5xBS6SgorUIulkf/tATlA/MV/G/BEXozHO5lWZ laUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687189096; x=1689781096; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FI+hNte4KQ89X9MLPossu7pYNhz0kIRBjR7VmzayIjA=; b=X3jxT1/QdrZTinKexhDFQRsdJObIzyZE8Qruwmu5Rp+BdocqFyPMf7fcrxiIlL8aWo aKazM3flUdhbdd6jy5438YI/Mm2vNDCv4KdEacB16qDo68kA1UJ4Rbxd0BKGeQnWP0M3 n4QCvfPKA2+vI70PePaAaiFZGVy6aRC5u6/qIO0/5jjWUHLOdy+1a5tzCd62SPouOehA DIKUHkn8ueIPcgn8jL4sHjnNAJaPcM6IH5Kr5lNlwLlZpDsil01S7xZ9FaapM7Tv4nzM ShQAfjcAXojc2+b89/P/XgTTQWdcCvCA/HRBbAHJ6OrvFdCmlsNvDrE841/CU4vMqVXl IpCA== X-Gm-Message-State: AC+VfDzBuGTbVTUb3eiB3DMxcZ40XDd1LLGG+elE7AN8iiAJR8DSl740 A7wEPMn3UhinydNnINNE0FBz4yioh3M= X-Google-Smtp-Source: ACHHUZ4XfSSe5xHyD92K38tcnpXFujM+FLCTlsvCdg6T+eFNvZQbqZmadDPybYEdBun6h4WwsEDAgA== X-Received: by 2002:a05:600c:2942:b0:3f7:e7a2:25f6 with SMTP id n2-20020a05600c294200b003f7e7a225f6mr7790404wmd.17.1687189096197; Mon, 19 Jun 2023 08:38:16 -0700 (PDT) Received: from guix-test.home ([2a00:23c7:59a9:c901:41c8:db68:b8b1:9808]) by smtp.gmail.com with ESMTPSA id y17-20020a1c4b11000000b003f7f249e7dfsm10306432wma.4.2023.06.19.08.38.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 08:38:15 -0700 (PDT) From: Graham James Addis X-Google-Original-From: Graham James Addis Date: Mon, 19 Jun 2023 16:37:59 +0100 Message-Id: X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=grahamjamesaddis@gmail.com; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 19 Jun 2023 11:40:38 -0400 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=1687189249; a=rsa-sha256; cv=none; b=Md8rcHV+fwUdtlMcujRY10kcyaqFDBWf9KqF6FPsBFEkhArdETxRyKf9WLhihrGpLMBaK4 FgijFc5ryvjCymI8qy/6wrMXqzFxQpHfuhXdpfuFYbvntTAkCJxDrViDFAxZG7yFKt5MT3 n7JpvPsw5u5sJsJBTFHCnBAMGVBWJBhr0lwAQ2IwsxNunh9I53eODtbJPJSg0J3FFVTDAK ySfXHjsDj/ckZGKq5OhKLkzpvclORH7C/9bTJbQDN5HjtWNQccsdBjpvjohL8PlXDSWmjM 6y0ItSdKXK/R1gxX5aNbRKRzj8XEX64QtjKEwCojk0GuxxypE0LfvWA1c+uP5Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=EK2XuRaO; 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=1687189249; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=FI+hNte4KQ89X9MLPossu7pYNhz0kIRBjR7VmzayIjA=; b=hAC9LWAcbkJJVZDmSV7G8nJMeH0UvrOHhG7qcaqK6aqP6Q4zt7CSmHU2zuLEg4LpWT3Pjj vjMYZmgUpIhwvTEDQWXcRu4ZAcYWU6zXvOtZpHJU0GVH3LdTOiGx0h5fgMtZZLNiLaDEIn 0lEDt2JGwVzvHxXYs9v8hZRriM4VVC8xDRY+hqHlFtbFbIbxh4v1ESFAHNnzJSTILiHyJZ r+bgLVhD5KYfO929II/tsQKJFPnknf2NV4NlAW3oePpiVKERR7btUWYvD2QntGZix+qBiW 4unkqB+NLKAmisOETyWRajJ172G0qBt4WMdzB2O9B63PLJ8J0TH+zsjTL7l4jg== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=EK2XuRaO; 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: 0.25 X-Spam-Score: 0.25 X-Migadu-Queue-Id: 4CCB711577 X-TUID: KHDtKcIB+QDC This patch adds an option to guix pack to allow multiple parameters to be passed to the guix pack --format=docker 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. Using --docker-entry-point will override any setting of --entry-point. The existing behaviour of --entry-point is retained if --docker-entry-point is not specified. Graham James Addis (1): guix: pack: docker add docker-entry-point options doc/guix.texi | 16 +++++- guix/scripts/pack.scm | 113 ++++++++++++++++++++++++++++++++---------- 2 files changed, 103 insertions(+), 26 deletions(-) base-commit: d884fc9e2efecfba09af4694f5a13ad7fc6f704f -- 2.39.2