From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yLk5EluGymPRWwAAbAwnHQ (envelope-from ) for ; Fri, 20 Jan 2023 13:17:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aMk5EluGymPT5gAA9RJhRA (envelope-from ) for ; Fri, 20 Jan 2023 13:17:31 +0100 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 E223A3F2B for ; Fri, 20 Jan 2023 13:17:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIqKS-0005nS-0D; Fri, 20 Jan 2023 07:17:08 -0500 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 1pIqJd-0005dA-OT for help-guix@gnu.org; Fri, 20 Jan 2023 07:16:39 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pIqJb-0006La-Pr for help-guix@gnu.org; Fri, 20 Jan 2023 07:16:17 -0500 Received: by mail-wm1-x32c.google.com with SMTP id k16so3897294wms.2 for ; Fri, 20 Jan 2023 04:16:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=WoA60jnDgyNmB2pQa/TarTMEzxdVag3J0+r4TK00D1E=; b=R4wazfsMX3GateWGW0tJVzbxS1S2UrwJzQSbDwYtyKZD/mOV5HVx1ACVXts01OTpHK sF7S+zLVFjOJGAs8ayqxLbH1Oq7hViHrnvzCToZVbpqB1DPN/wKVzxE4SePSR2EI9yyp n/fWb/GNAgnZip/uD5nCHLYC7eyCqreHel2PnBOQBO5wJP1jNbHokw2RAfBncB4NI2Bz e1HfmrPQ+YW7yn+JqI2Tc+aj0+A8jYeeh3g4jjvBO7eE0wfkj/lhiC62N84Bifon6Z14 ecOeO0M7hPkeMBf8tWaVDaIzfm++zCZa0k2cL4rdR6nh0ZCkbkP9ruHIw/kseYhQVJ+s mSSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=WoA60jnDgyNmB2pQa/TarTMEzxdVag3J0+r4TK00D1E=; b=DoD6sEFxZbpT1FsYYwGxvqZE8qfc+7F+EEyocbsVrWqHimkpIY9TpxCMYrrGQDQ+ZE 58edvvacgmVualtN7Su1G6GoFTqlwWeN921Xo4hPNmxVN37tDjp3jPZVonwml1fPRpXb AaLqOtSJ09A0strwfG0mExa1cf5RTCmkcL9I1JVKHQ2KjJK6snPf8CUt9euRQ5bG+UiQ xznV+fKhSPl9ZCTswmo4Sku+bjkIAQfBBpww+WszlMoPogk1EGC/WjAjNs6nSOKJ17vp M0ISoOXupc0R3l/jdMafMODdLY+jqXML7vQW2Xhb7HySKjw6K79tKg5XkL36igg6cV/y IOuA== X-Gm-Message-State: AFqh2krawRxJaQW/vbQ/XnCoGPQ2F1OaniQj/OZZGw9B3l5yLxCyqWCh 3RZ4y4xj12IHginLDJYRMoEN0ESd49A= X-Google-Smtp-Source: AMrXdXt0l6vvVbz1xCR6DRGOoyN1KvPG34gdR2IWKqBy0FQ/gF6JGXNqHR8GKBQrkJCzt6lyAYsBHg== X-Received: by 2002:a05:600c:5120:b0:3db:21b8:5f53 with SMTP id o32-20020a05600c512000b003db21b85f53mr1539189wms.1.1674216973505; Fri, 20 Jan 2023 04:16:13 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id f13-20020a7bcc0d000000b003d9780466b0sm2025747wmh.31.2023.01.20.04.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 04:16:13 -0800 (PST) From: Simon Tournier To: =?utf-8?Q?Przemys=C5=82aw_Kami=C5=84ski?= , help-guix@gnu.org Subject: Re: specify custom manifest->friendly-name for guix pack -f docker? In-Reply-To: References: Date: Fri, 20 Jan 2023 13:01:54 +0100 Message-ID: <87h6wlqurx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32c.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 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=1674217051; a=rsa-sha256; cv=none; b=WpKa5cJBBxbKK9dn91BxuEqB5EXeIkrt5Rov0LlT3e2nioV8g5BiXUFUg7gFHo3nJCO6Bm sXFEsW0C6MbPpkUCF0A4Zhd7WgRWJ+MmTjykw2CAdMVHzNaBAdWxXMNRirnXhK7vWCIdJC 8830YeTLvlaZmLQco8eh9DmIR3iRg7Jt931OqgvXM28iP4aqFSAdjTSPHJogIEpbV7CRRR oUe+1lgJuHsecZX3nfTXK1Rxfwp34waw/qjKKia+ME7Io1UBqgqaACWwxwJmx9CVIZ4wGv /iG8LvrtvMx4plCAuqo1Terr3I5ptUgyW1RsXRHFaSQ+MgQGeX53zDhrKq0n7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=R4wazfsM; 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=1674217051; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WoA60jnDgyNmB2pQa/TarTMEzxdVag3J0+r4TK00D1E=; b=CjisgLrB5PWxEp+gkXy70xI1yUVc5GHxWiaApWOgb4Y58JOkNKYRayIL5ARgQFVs7DI3Ny Xkp71S/MVZ0jGAgLCL9IVTwX7a6r1AQ5QKs1fAww99tLLlBMqLkOaH9V4bY+SX4b0eiMJV c0vBPfWHOPF43Js4jmjhss6VbzpGPU7Iq5gPPSuYUARWYp/2XmjJDqkk12LmXioIR6ymIB ZUvL80hbyZMWOakCi9fFE8zZo+DVI0uelG5u7ceFmkbk+eZerP5G3KG01XuwR23mYuogmY 6AHHoz/MvsdR8c0TVlKlHt2yjVaAMa0Jp7+9HDWtu85FlUubS3mtyWKiLwvs7g== X-Spam-Score: -9.58 X-Migadu-Queue-Id: E223A3F2B Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=R4wazfsM; 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.58 X-TUID: qS3leH46Q746 Hi, On mer., 18 janv. 2023 at 20:40, Przemys=C5=82aw Kami=C5=84ski via wrote: > that produces cryptic docker image names like bash-coreutils-r-zhs. Well, this is an improvement compared to the previous behaviour. :-) See 0074844366381e3056d09492b8b437836c7adb61: --8<---------------cut here---------------start------------->8--- pack: Provide a meaningful "repository name" for Docker. Previously, images produced by 'guix pack -f docker' would always show up as "profile" in the output of 'docker images'. With this change, 'docker images' shows a name constructed from the packages found in the image--e.g., "bash-coreutils-grep-sed". --8<---------------cut here---------------end--------------->8--- And one thing discussed at the time of this change was that the rename for a more meaningful name could append on the Docker side. That=E2=80=99s said=E2=80=A6 > Maybe then add an option to guix pack to accept optional name? And if not > provided, fall back to manifest->friendly-name. =E2=80=A6yes, I agree. It could be nice to be able to directly name the im= age. However, this would mean that the produced Docker pack would not be bit-to-bit reproducible considering the same manifest. Other said, the bit-to-bit reproducibility would require three inputs: the channels.scm file describing the revision of Guix (and potentially other channels), the manifest.scm file describing the packages and also the name provided at Docker pack build-time. Cheers, simon