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 ms5.migadu.com with LMTPS id iMtGC4nMymNbMgAAbAwnHQ (envelope-from ) for ; Fri, 20 Jan 2023 18:16:57 +0100 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 WA89C4nMymMIoQAA9RJhRA (envelope-from ) for ; Fri, 20 Jan 2023 18:16:57 +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 CBB521210D for ; Fri, 20 Jan 2023 18:16:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIv09-0005Sm-G2; Fri, 20 Jan 2023 12:16:31 -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 1pIuzx-0005Rz-5N for help-guix@gnu.org; Fri, 20 Jan 2023 12:16:17 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pIuzv-0004IM-3A for help-guix@gnu.org; Fri, 20 Jan 2023 12:16:16 -0500 Date: Fri, 20 Jan 2023 17:15:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1674234961; x=1674494161; bh=dvpomjy/mIw1rrkR000sXUYeDwk/QKgyViCUwYuYIBA=; h=Date:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=X3ZFZraKt0M2bthflJqs0/tn4iEkJmPe0NiR/qBenwC1TejQWlMbedPX7O5P53oQA uXvBQNxua69rdlFPt/ufuxNd5NudXK4MVycyqzdMgKmtxo553lRxI5PKQbjFcGXPX1 cNyVoCJnaElE1UEK6eVwp9twtVrp58HRFGYwJl0Z3MJ7SySdhd/yZTFrGLWksYvfII GN0KcR7qe6yvtbUbzYonO+bnj436yHteT23RpSqMcbG6MPheECEbykRO9xW3AdqGET WGJDlgLZvMxSxER0XV7kutlonaKtmui+Fgy/qp9uIFZLYKtVJh5rhR9RIJ2Ge++zEc POG0XZVv4ASMg== Cc: help-guix@gnu.org Subject: Re: specify custom manifest->friendly-name for guix pack -f docker? Message-ID: <4xiWpSjSI7GoyhAByHM3DaHyB69jmE-pyMCzGWK_lB8HgtEQ5v62qpG4yGRnhsBAE97qncMJal5i7ATk292VY8R4ZQxZiG2IKJbw4tT4wj4=@pm.me> In-Reply-To: References: <87h6wlqurx.fsf@gmail.com> Feedback-ID: 5924613:user:proton MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------acb8e3dd3423d52b5995cd8bf1fe4ca90837b85b191e16d383e7b7f6fc82b1ed"; charset=utf-8 Received-SPF: pass client-ip=185.70.40.134; envelope-from=cgenie@pm.me; helo=mail-40134.protonmail.ch X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, HTML_MESSAGE=0.001, MISSING_HEADERS=1.021, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: , Reply-to: =?utf-8?Q?Przemys=C5=82aw_Kami=C5=84ski?= From: =?utf-8?Q?Przemys=C5=82aw_Kami=C5=84ski?= via 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=1674235016; a=rsa-sha256; cv=none; b=mLo+ufiRB799OoZZiqhL1tl9H6jMcKt7X/l0mxboWFwN6vntdUMZAs2ovSvzSIPh1itbe8 Qf+zENzvkWDCB3qJDMZWIdzdFW4NnJz0R+JVkt9fDg8ZKwTk/vSHdLTCJgXfmBrNxcODuO RV7HlW4kM7+MTpgFY/XGtbRvdE72kpq6eUAePjgSYscHgwr3/0v4Q6HQHeDV9O1yTP6bat l3f6I7SKxIK0pFRKLAGAFDc1A0Mw1JKa4MboA5WoIG6abNcxj3gRTiBzwTRFIL+gH0xL4u qs+D9UhGdQtA4KWRdr5HHFwsZnicq+VhdgJFoc2C9O4g002IuMnq2wnwIGVKUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=pm.me header.s=protonmail3 header.b=X3ZFZraK; dmarc=pass (policy=none) header.from=gnu.org; 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=1674235016; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:cc: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=EE36fPopsd5vDkCzYs0vpZCIHwGhOjT37b4JN3nGnRs=; b=RN2G1n+88pVWxEeMd1eUkJ/SYV8rCTacleVAEWC10FtMz0lbe6hvQKVu0DLeWnMOV+0nGO Adm7HhZdmV57a/cmeiI6l3eO/soUvRq1DeZ4vz+VFlo0yExCl+21UFHSMC88vK6A7dvuh/ 3/dji4VMNrFnT6DQqdBB3FgXTE1VKdzi+TN7a4QqO+mqLMFFVyW/kNfck0bq40iiQwAYm4 YnUDAhivIG3TrFNRUAhOTMOPF/pcI9LI+7NwRkb/6OccyWVb6EYaMg9RMgmUNWPguXWouY KdZA05Hjawr3cK0LPVkof7R8dBqhSJoTrp9swLYfstMbf4JqNPmSJ1Yq0XXeKw== X-Spam-Score: -1.71 X-Migadu-Queue-Id: CBB521210D Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=pm.me header.s=protonmail3 header.b=X3ZFZraK; dmarc=pass (policy=none) header.from=gnu.org; 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: -1.71 X-TUID: NFIByahTPhYQ This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------acb8e3dd3423d52b5995cd8bf1fe4ca90837b85b191e16d383e7b7f6fc82b1ed Content-Type: multipart/mixed; boundary="---------------------5b20350c371948ed6605a34973368cfd" -----------------------5b20350c371948ed6605a34973368cfd Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Or, just a wild idea: maybe make xspecirl" manifest entries that would modi= fy Docker image? This actually would resemble the Dockerfile: name, entrypoint, package inst= alls and custom script execution is done in one fine, streamlined. It seems= a bit strange for me, for example, to specify things like entrypoint on th= e guix pack command line. Best, Przemek Sent from Proton Mail mobile \-------- Original Message -------- On Jan 20, 2023, 16:07, Greg Hogan < code@greghogan.com> wrote: > > On Fri, Jan 20, 2023 at 7:18 AM Simon Tournier wrote: > > > Maybe then a= dd 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 image. > However, this would mean t= hat the produced Docker pack would not be > bit-to-bit reproducible conside= ring the same manifest. Other said, the > bit-to-bit reproducibility would = require three inputs: the channels.scm > file describing the revision of Gu= ix (and potentially other channels), > the manifest.scm file describing the= packages and also the name provided > at Docker pack build-time. > > Cheer= s, > simon The image hash already depends on \`guix pack\` command-line opt= ions --entry-point, --save-provenance, and --symlink as well as package tra= nsformations, --no-grafts, and --system. Since building a bit-to-bit reprod= ucible docker image already requires replaying the command-line options, ad= ding an optional name would not reduce reproducibility. Greg -----------------------5b20350c371948ed6605a34973368cfd Content-Type: application/pgp-keys; name="publickey - EmailAddress(s=cgenie@pm.me) - 0x9CC42B0A.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - EmailAddress(s=cgenie@pm.me) - 0x9CC42B0A.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdvcGVuUEdQIDIu NC4xMApDb21tZW50OiBodHRwczovL2dvcGVucGdwLm9yZwoKeGpNRVl5QUxMUllKS3dZQkJBSGFS dzhCQVFkQUMyb2QxbmFWSm1iVVlOdkM0U2ZjY0ZvRjFIaXF3K003YXJlSgowWjhXaUhiTkcyTm5a VzVwWlVCd2JTNXRaU0E4WTJkbGJtbGxRSEJ0TG0xbFBzS01CQkFXQ2dBZEJRSmpJQXN0CkJBc0pC d2dERlFnS0JCWUFBZ0VDR1FFQ0d3TUNIZ0VBSVFrUWdsSzJIbS9LUGtrV0lRU2N4Q3NLSkdBWThk Z3cKU0c2Q1VyWWViOG8rU1ZITUFRQ2pnTDVjRUtRMnJNNk9yK01qbWpuSkV5NEwyY2hmUHVBNHgw U1pkT1d3ZlFFQQpnMzBST0JoakNybWhnT1AyanRUdVRCVnVwRHhSVFh0RzdnckNWREptOHduT09B UmpJQXN0RWdvckJnRUVBWmRWCkFRVUJBUWRBTjIvMnNjdEk3cHhCYnF0RHkxdDdseHJkSjNJU2Rn OGxsZC9JenVNd3VoVURBUWdId25nRUdCWUkKQUFrRkFtTWdDeTBDR3d3QUlRa1FnbEsySG0vS1Br a1dJUVNjeENzS0pHQVk4ZGd3U0c2Q1VyWWViOG8rU1lEeQpBUDR4V1RDWlZyQnptTmNxeThCYWhO TmZyZXpHOThJdnNVRFJ5YVY4YXVYNzNBRCtJczF4S3NteFlLMTdCMTgvCjJRc1FSNUlFZVJkYkxi enZlTG9RRnZUdmdRUT0KPUZEdzQKLS0tLS1FTkQgUEdQIFBVQkxJQyBLRVkgQkxPQ0stLS0tLQ== -----------------------5b20350c371948ed6605a34973368cfd-- --------acb8e3dd3423d52b5995cd8bf1fe4ca90837b85b191e16d383e7b7f6fc82b1ed Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYIACcFAmPKzEYJkIJSth5vyj5JFiEEnMQrCiRgGPHYMEhuglK2Hm/K PkkAAH9EAQDeZhpsfvAVmUzepIkjFOMtNFmvCgj687h1oSmpQsPlcAD9HCPH tHXhVu7DaOUK27/P2MxRx0ozyGJ0W8Ch78fXBgE= =JUBo -----END PGP SIGNATURE----- --------acb8e3dd3423d52b5995cd8bf1fe4ca90837b85b191e16d383e7b7f6fc82b1ed--