From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gGNgKosBfmTsMgAASxT56A (envelope-from ) for ; Mon, 05 Jun 2023 17:38:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kD1eKYsBfmTEUwEAG6o9tA (envelope-from ) for ; Mon, 05 Jun 2023 17:38:51 +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 52BDC2C06D for ; Mon, 5 Jun 2023 17:38:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6CHW-0006gY-Qr; Mon, 05 Jun 2023 11:38:06 -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 1q6CHU-0006g5-Nh for Help-Guix@gnu.org; Mon, 05 Jun 2023 11:38:04 -0400 Received: from mail-ua1-x930.google.com ([2607:f8b0:4864:20::930]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6CHT-0008EQ-99 for Help-Guix@gnu.org; Mon, 05 Jun 2023 11:38:04 -0400 Received: by mail-ua1-x930.google.com with SMTP id a1e0cc1a2514c-78a03acc52aso818951241.3 for ; Mon, 05 Jun 2023 08:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685979481; x=1688571481; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=xZfBPafzXN1WvbuIcYPLacR0p5+eXqbSWVtrHmtR/Tc=; b=jOmeQ8vVZ+rIuPq74F4qc2d1qTSa5C25F23SbR2gu0NvOfW8/wi2Am/knXO4XY9++1 vk8TmbOEOjGBGIP9dXCsNpXDE7zmgN8hLf5YCq/zhGPYitg8RjaS8kQdpnA3lbMZeixi gOpe9o9Zc349SpAGZzEu4EvISyt+rnJCkU5Gi8l3Rrju0BWlEoJfFENoV79rjFca246W LoHE7vRvxmPL2zRv7rWOeHE5gDHegYMt1WGV7PocxVsLeNBvlDxjKrjB4m4sMIzzCd3v /+9/CZHg17m+RWjDHhY8esfDacOl+GBlkKGz61cUhiQlIOkMiXV/QfG4IHV5Sw48PJhu nWiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685979481; x=1688571481; h=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=xZfBPafzXN1WvbuIcYPLacR0p5+eXqbSWVtrHmtR/Tc=; b=avL++CNfTo4Dh8BKZzg4NcdUmW6d6GPjnOVwh3ACzsfhXlvvbH7U1IVvOzhHeK84yo ia6B6rLq0R0RBsmyHw53G+mmIPvpzDepabGito4DVARMhW6Lkhz35yd7uQp43Ggf93XO xtmQosmwzrYuBE/hkn7bA/Emg68u6xPNk1H3Ih2KL78sD6kS+E8t3NJFdUwl7XX3R8uU eOAQzuW2afjeOlEU2TAgAaxbpPD0+pO5uAqO813ePKZsKaNXxh3ylCEWIPtFZ/DUoQZ5 pQnKssX8sU/ln0FDLsPQaX85sn3BjRvfC53NsXEipS5rieRDBA7UXgE+iXc9iOYa6eWv t/eQ== X-Gm-Message-State: AC+VfDwKhyG0fAOfxI5q01s67bifCXEoBJSroH8ZMcZFYpxtOqumckJl TdTdOkl/cc7cAQt5xZQfKYkZdnOxDodleobEU8Q= X-Google-Smtp-Source: ACHHUZ4+dRIVQ2SmDpTr6N8FYNwhsGaDMnI0DhKiOy0N8gRXTVcWGkrtNmRw9Dr/1FUirww7SLw4uo4MHEGDrzPXg2k= X-Received: by 2002:a1f:5f0d:0:b0:464:44c9:1a9e with SMTP id t13-20020a1f5f0d000000b0046444c91a9emr1586092vkb.16.1685979481538; Mon, 05 Jun 2023 08:38:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Graham Addis Date: Mon, 5 Jun 2023 16:37:50 +0100 Message-ID: Subject: Re: guix docker on gitlab-ci To: Graham Addis , Help-Guix@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::930; envelope-from=grahamjamesaddis@gmail.com; helo=mail-ua1-x930.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: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-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=1685979531; a=rsa-sha256; cv=none; b=RuUG7NeQbr5uN+fIQiw8HVOMnV4aq5VouF0pCow41BL+8n1og3g/XTvH5HGKMqA8gHdVrE BPct5EK/oCdpORdy/bXDqAZYuiFYlpFl5RI/XzeNJzhXyhO9ZnudTeWtIl8BwKNM8azuaz +4l2wnzm6tcKBDHRglhWSwQndcymg7ouN7rQzfUDyW08NuzkkfSUBCjHbBCifn22pZRJoa VZq+I0ZWifdXZ4jr+u9IC1ShmaMGzWAwSVAtbU+T4h7e6x6bd3/Qwo14H2glz0xjOTkSug Y079t7GG/5usfcgGmDEs95tFYTst6aMeGx/TZqADXy1dwlXbT44DEyJES8YXvg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=jOmeQ8vV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685979531; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xZfBPafzXN1WvbuIcYPLacR0p5+eXqbSWVtrHmtR/Tc=; b=oVtGtxymxhbLvenDC6ltQz4K1wSBqbJ2pSXjoY5AIMykVD4Q/3LQWhGnSHny0scsptUvE+ r82VuDZjPcK1DaQ/+VZCJaLvG9YFzZnIRilJEJDxgpl1ta8ge7oWzXUsfLcJBgOTa1epm8 HgUgisy8mvhLsXVe+wbt0RGSLuivhaHQ1fXa46KP7oMyqNNSOjnL734zqVBJzdHPuWmSw9 MXxLg3f82W+JWo8prFipl3akeBNEKZf/x+w/+iekGyZ+iFWtXGl2GhsZsTRVcDK02oloaT TYzVWxPGIU7tOC/hy0BBJ37TWPlHSoEOeRMQPMGOjr0CqgwIDciKw+BupUWEFA== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=jOmeQ8vV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -9.85 X-Spam-Score: -9.85 X-Migadu-Queue-Id: 52BDC2C06D X-TUID: yy/BmeH1h1QE Hi Wolf, Not a particularly successful weekend... As --entry-point was used by other pack methods I thought the best option would be to add a --docker-entry-point just for the docker format and pass it into the build as an extra-option like for deb and rpm formats. However I couldn't work out how to pass in a list via the extra-options, so I'm a bit stuck. If there is anyone who knows their way around the pack scripts and can point me in the right direction, that would help, but other than that I'll probably get some more time next weekend. Graham On Fri, 2 Jun 2023 at 09:13, Graham Addis wrote: > > Hi Wolf, > > On Thu, 1 Jun 2023 at 22:55, wolf wrote: > > > > On 2023-05-31 18:47:03 +0100, Graham Addis wrote: > > > I could use the equivalent format for --entry-point > > > > > > --entry-point executable --entry-point param1 --entry-point param2 > > > > > I think that is a reasonable idea. Only downside is that it would not be > > backwards compatible (since currently last --entry-point wins), however I am not > > sure if someone actually relies on that behavior. > > > > Backwards compatible way would be keeping --entry-point as it is and introducing > > new argument (--entry-point-arg) that could be used to build the argument list, > > but I might be overthinking it :). > > I'll go with extending --entry-point to accept multiple values and use > all of them for --format=docker and simply use the last one provided > for the other formats. > > I'll try to put a patch together at the weekend. > > Thanks for all your input, it really helps. > > Graham