From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MPuhGX89imUgWgAAkFu2QA (envelope-from ) for ; Tue, 26 Dec 2023 03:42:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 2BwkFH89imVwdwEA62LTzQ (envelope-from ) for ; Tue, 26 Dec 2023 03:42:07 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="ULU/nUIi"; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703558527; 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: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=StihbCwtZIccK/iQz2hr0HlNhJyiwYTRwsM7QPheyAs=; b=Fhx02bzG+2DrDZ9J/XQEaEtS2iucrrI6S4HIPwtGnmoCpkZBW2C7HKfp5don2pxBPmcSuV omI4n6I9k8sl2yMANgCW9uwd3D7Bb7tCLXEq10Dq25+bSU8utJ1mc5SsiEmw6O1AEyPrbT 2xQLBM32HxnSO4bgFvmiSxZflE95w2rr+ccRnygBl3fPT3Yf8STc2MjNuD6JZ89VOcV8g4 9xw1DNFs5w5FY3Tdq870KoTCvhVh+i6UMKLBUmuLjpT8dn5lxEj77uwpHXBXfAkUNYVUnt k96M+KjlRUPaAFMrUif+uKJHGHuwExCcNnfeDGj9PP+JpdKcbbhzwryraKWHvA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703558527; a=rsa-sha256; cv=none; b=jIjgRKNMl3TTk0dpEjJkNdA/7RsBBg/3Y6DmQMbgEnaqEbcKTjXSSRy2pjo4lxBsplkpB8 b6ZGYTb1hd5UvZzB016MVAbc2/ca4jTvzSFlvtNcoYKmEyNmJW3PZ1x9SYBRLZEIP8AU8+ hkEATMCMNI41iIOLtM/x4/BtHfoK8TonNl9djwvSgYyuetCLdQDw4hNqFeYgENR9+oGGlC 3QEr3SDRGOAYOuxAdnhuKH/0Baw7qPRmAw1xTI/SrprR21LTGdYmLt38HUmgW2DZHNjjke HSlriMcjyUzODyNIvVVexZtbtfZ2mDVijZ70QYcPdZCQ+eZlBZDYnNn07Ypr6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="ULU/nUIi"; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) 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 EEA4F453B6 for ; Tue, 26 Dec 2023 03:42:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHxOF-0001ma-V9; Mon, 25 Dec 2023 21:41:55 -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 1rHxOF-0001mJ-6N for guix-patches@gnu.org; Mon, 25 Dec 2023 21:41:55 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHxOE-0002iX-UH for guix-patches@gnu.org; Mon, 25 Dec 2023 21:41:54 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHxOL-0003wp-Q1 for guix-patches@gnu.org; Mon, 25 Dec 2023 21:42:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#62153] Merging guix pack changes for Docker containers packaging Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Dec 2023 02:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62153 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 64173@debbugs.gnu.org, 62153@debbugs.gnu.org Received: via spool by 62153-submit@debbugs.gnu.org id=B62153.170355847015102 (code B ref 62153); Tue, 26 Dec 2023 02:42:01 +0000 Received: (at 62153) by debbugs.gnu.org; 26 Dec 2023 02:41:10 +0000 Received: from localhost ([127.0.0.1]:55665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHxNW-0003vV-2G for submit@debbugs.gnu.org; Mon, 25 Dec 2023 21:41:10 -0500 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]:38239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHxNT-0003v9-9g; Mon, 25 Dec 2023 21:41:08 -0500 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-50e79299da9so152231e87.1; Mon, 25 Dec 2023 18:41:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703558454; x=1704163254; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=StihbCwtZIccK/iQz2hr0HlNhJyiwYTRwsM7QPheyAs=; b=ULU/nUIifJJay0fxiGJR+qkzoaAy9twwWfKAn2eo6tYO3IMJ7gYPD6NL3akRAJXx7e x10x0aJsSKt63yK79ZJTIjRG/g6yTL9URf6TjpXFrWPVDO8e2SeXjYFZ2U+t2NVQ/1bp 60cUEa6LL/1mwJpKwvQGM4FPB/00x3BxhMpkiOf8QEiLvKvHuuVIbXoaJo6ssMkMgLhQ bXe/kJAjFL5mnFN99KITwxhtQPcK7MBhf52HOKDHuyN+M0as7dWFRNtFAh/HHtNuywPL BX79ALZM0UJ3VNPXUf+t/xvMubGv4NP+0J3ePcwO7InOg9oBxNLZjoQNlqh7zNyS2atW BomQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703558454; x=1704163254; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=StihbCwtZIccK/iQz2hr0HlNhJyiwYTRwsM7QPheyAs=; b=QHIhzVDgz5KbMp9+zGWTCx8rXZlIYU7v/lN41tLTQekGTznj+jDhDPyZ4rMsXHrkqC Gj8bnqWRw4eDFzJYcb1L17s6X8730e5HmF4/W6vCnnSoiVGHzVYZ3OvEcVw8gU1Zfv8P eellwul2HPAOe8O13KStnokpPuekN1IsM88DqXVvt6cmeYUZ/d5Vn/qqOu1bHamcJfcm eVfl7jqTR9RL8KH+Jnmw/8UbkugB1weXM6cd/8jXMwrMYjDM9ur9kMh4WA1NeFgxcuAj WStvrdu+Tcgd01/l7HoG/nvn5mJKdA65/tR9Fdl2Kai7/DBk22eRmn5JzuYfOC0C/sTu nTWA== X-Gm-Message-State: AOJu0YwhJzwsiOPYnO94A8xgXprumOgKZ7u04HPU3LukIwz/3YBkYDqd WjePD+KxaNBrVxjyxcKoq2Q= X-Google-Smtp-Source: AGHT+IHslTkt/P+oQU6CM7JZzMIOtx1bq5VtCsyGLum6EJxG/ogEd17Pjc8SXji60RTd5YJ2fkDOxg== X-Received: by 2002:a2e:8883:0:b0:2cc:9882:4ca2 with SMTP id k3-20020a2e8883000000b002cc98824ca2mr4667261lji.5.1703558454196; Mon, 25 Dec 2023 18:40:54 -0800 (PST) Received: from localhost ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id ce26-20020a2eab1a000000b002ccabbc3c5asm1473979ljb.8.2023.12.25.18.40.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 18:40:53 -0800 (PST) From: Oleg Pykhalov In-Reply-To: <875y0p99c4.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 22 Dec 2023 23:11:07 +0100") References: <20230313003012.14325-1-go.wigust@gmail.com> <878r9xb2e6.fsf@gmail.com> <875y0p99c4.fsf@gnu.org> Date: Tue, 26 Dec 2023 05:40:52 +0300 Message-ID: <87il4l4rez.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.00 X-Spam-Score: -7.00 X-Migadu-Queue-Id: EEA4F453B6 X-Migadu-Scanner: mx11.migadu.com X-TUID: 3HpQi7/hvrR0 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludovic, Ludovic Court=C3=A8s writes: > Apologies for not replying earlier. I occasionally get reminded of the > fact that building single-layer images is a problem, but only now did I > take the time to look more closely at the latest version of these > patches. > > Oleg Pykhalov skribis: > >> I would like to merge 62153. After 64173 will be merge, merging 62153 >> is not possible without conflict resolving with Git. >> >> 64173 introduces =E2=80=98%docker-format-options=E2=80=99 variable. Wit= h this variable >> it's possible in 62153 to replace =E2=80=98--image-type=3Ddocker-layered= =E2=80=99 with >> =E2=80=98--docker-layers=3DN=E2=80=99 option, where: >> >> if =E2=80=98N=E2=80=99 is zero, then use current non layered format >> if =E2=80=98N=E2=80=99 is bigger than zero, then use layered format > > OK we should do that. However, the original submitter of #64173 > apparently dropped the ball as we were approaching the final version. > > Would you like to adopt it and submit/push a version that incorporates > the latest comments? > > Alternatively, we could do the opposite: merge the Docker layer patches > first, and then rebase the =E2=80=98%docker-format-options=E2=80=99 patch= , after which > we could add the =E2=80=98--docker-layers=E2=80=99 option. > > What=E2=80=99s your preference? [=E2=80=A6] Patches 64173 and 62153 (v5) have been sent to 62153. If you don't mind, I have changed the option naming to '--max-layers=3DN' instead of '--docker-layers=3DN' to align with the format of '--entry-point-argument' (without specifying Docker as the only image format that utilizes layers). I did not include code to check if 'N' is zero and use the current non-layered format. Instead, I opted for the default value of '#false' as it was easier to implement. Regards, Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAmWKPTQUHGdvLndpZ3Vz dEBnbWFpbC5jb20ACgkQFn+OpQAa+pzYpBAAuIqdacRLFs0TgY6PKw6yiUARQSRb AKT1b/9dryTHfxL9STKiHdgkSXzCK7SvfXX/SkQrACybakckunGf0BD8ZTCZ47i8 d3vLKOA8iRlewHStIVeuJUzzJgwb+CefTkkXX4WwEVrrfvdFbCqs6iDZPsGZzI90 KmYfRkbNwfwEGXV+efZMKZ982gs+56dCMbJk6rK9TYAXxx4zxQJdQ7zGHyG9J2I2 zAMK/YsfvmaVVzcgtDkiFn0FBZ1hrXtL2EipzEGs3VtUO0l1XdHmei4auTyaxpD5 xlMYEhSXrTlW0JxXzEEQigJMeoKECesj9CzO1C18ByVTnJNT5ABJAcwXKMO7JT7i iJlrlO1vce+u2XdeAlIaNU0225Nn21NZWoAce2O424wrIUvmtp0w835R+Zgp9OTR uan2o5XTYXTRp6F9IRdTiDORBF5C7T7vay+f7TVPBafJDMpz2it87FXp9FlICFPl HqNW56R0780AOl0N+Qg6UOlr8rQ2wlmjeIRCeLiSuQBvKE/eJzaXL1i72b/koHn6 c47tZbWbjTJqJgoDXC7QnJiUlvhlLvbR7c9cH+QKgj4Oi7IejG96prSZXrDli12z IVPERJM9UsPmFSNoqOlgaVChbda3i8gPJjzZro6TxFPlk7JorMlmsUURvMWYhi5z HAhQvJxZLviRjEY= =Dj7B -----END PGP SIGNATURE----- --=-=-=--