From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id SL27OQs8qWUqGwEAe85BDQ:P1 (envelope-from ) for ; Thu, 18 Jan 2024 15:56:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SL27OQs8qWUqGwEAe85BDQ (envelope-from ) for ; Thu, 18 Jan 2024 15:56:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=iJ2YTcrb; dmarc=pass (policy=none) header.from=gnu.org; 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=1705589771; 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: content-transfer-encoding:content-transfer-encoding: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=6fjABtUfkZlmiDalv7TdOvTnN3duYyalgFaqihTKZZs=; b=R7TvZibCjycEVGTihG0USMr/HtJCFknalfeX3UCgA7yCJNfdf1lBw1NBZrys8XwUVGwe/U Eb5K/DBDWBaFsJ/BA+bnXxp6bqIqGCTYKUPmTEjyUam95suPBwBqM8Csl8RVZtDDL8Y079 SeDwauPEzE1KZVjysa+crAPfXSuICOh2yLV3gD/VZJHmP5BFVoJAOsYPSzJ8KF9B5YIecI 2YP4IIXTtRhLld7xKW1BoCPl8X4C81bTQ4X3FjK86/F+1z+COoDHsJnUuSQYG3QmAsxp6j P+NnI8TUl5R2ub/7DZ6I3i6Ht8WP8jc7RnNvZIYE6qWMbxe6ac+Vx+RO8e0L4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705589771; a=rsa-sha256; cv=none; b=fvV+ui3oLJEr8DhlFQWMLUHPZQFyWzUnEFxfvsqko0ad59+cM820DzJaZSDZF3RMN1RNoB MOtpafcvu3ZWjKDck+lE03rvYmqmXu4mycV7lK/QfKhE0J5w/4Uh0/1HwiUpVncIZ5Ch/X V6dtbas5ycEmLQPn6IujoOqp69dO276znHd2Wd2CDVHncDYuMWjsHGGRXoqciMjM18Uc/1 df50/qAzbjNQnuUAZV5gtgRJ8FhaXDU7VC0HzaPoY84MLI2DHQsa0UhpfClM/Qz5radjPR 72nBvUi0Lg4QOccEo07BAqGmsW11vcovt2izfePTqopKiIG1iB7LuyTUaemvsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=iJ2YTcrb; dmarc=pass (policy=none) header.from=gnu.org; 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" 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 61A50257B4 for ; Thu, 18 Jan 2024 15:56:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQToJ-0006Uq-D0; Thu, 18 Jan 2024 09:56:03 -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 1rQToH-0006UR-66 for guix-patches@gnu.org; Thu, 18 Jan 2024 09:56:01 -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 1rQToG-00021E-Ua for guix-patches@gnu.org; Thu, 18 Jan 2024 09:56:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rQToI-0002Sy-BP for guix-patches@gnu.org; Thu, 18 Jan 2024 09:56:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#62153] [PATCH 3/5] guix: docker: Build layered images. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 18 Jan 2024 14:56:02 +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: Oleg Pykhalov Cc: Josselin Poiret , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Ricardo Wurmus , Christopher Baines , 62153@debbugs.gnu.org Received: via spool by 62153-submit@debbugs.gnu.org id=B62153.17055897528959 (code B ref 62153); Thu, 18 Jan 2024 14:56:02 +0000 Received: (at 62153) by debbugs.gnu.org; 18 Jan 2024 14:55:52 +0000 Received: from localhost ([127.0.0.1]:55927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQTo8-0002KN-3a for submit@debbugs.gnu.org; Thu, 18 Jan 2024 09:55:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQTo6-0002FV-T3 for 62153@debbugs.gnu.org; Thu, 18 Jan 2024 09:55:51 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQTnz-0001xZ-4W; Thu, 18 Jan 2024 09:55:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=6fjABtUfkZlmiDalv7TdOvTnN3duYyalgFaqihTKZZs=; b=iJ2YTcrbSPXqbg7Aej05 GAxclE+rAehTceqcz88f3A2K1Cd/qxxFb/uqUmzNW9aiq23Y9Qk4KLyXMrbDYMKok8QSN9Tqfv4hL /3cNQbHlDOTpl9lkBBZM7jsBkiVv+28MtZ4uXKjif6uIE71bYPIJ+RKeWIb5v0nZg6pSY9/VdIuFk npG4S58Cej7q1SC57qKi4qJn5kysvsOGWwBpB/WbK1MkIsbX5nF3mJWft3UPuHTTSWuMwFmmFCzy5 KrDDdiRVlJTwjeLgSiP29zE+v2teuE+nymw4y75FmSyeBbX0ZkWo/etuQswtsqWzNdLUtmrF4s5GW KjRAxbGgajI/1w==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <49f8906ba06af461e17d9badcbbf3967f1a8be3b.1703556298.git.go.wigust@gmail.com> (Oleg Pykhalov's message of "Tue, 26 Dec 2023 05:18:55 +0300") References: <49f8906ba06af461e17d9badcbbf3967f1a8be3b.1703556298.git.go.wigust@gmail.com> Date: Thu, 18 Jan 2024 15:55:39 +0100 Message-ID: <871qaeeln8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.22 X-Spam-Score: -5.22 X-Migadu-Queue-Id: 61A50257B4 X-TUID: liZf8JIoWgEq Hi Oleg! Oleg Pykhalov skribis: > +;; The maximum number of layers allowed in a Docker image is typically a= round > +;; 128, although it may vary depending on the Docker daemon. However, we > +;; recommend setting the limit to 100 to ensure sufficient room for futu= re > +;; extensions. > +(define %docker-image-max-layers > + #f) It just occurred to me that the meaning of #f is unclear here; also, the manual does not specify the default value of =E2=80=98--max-layers=E2=80=99. Should we: 1. Set =E2=80=98%docker-image-max-layers=E2=80=99 to an integer, maybe 10= 0, in accordance with the comment above? 2. Clarify in the manual what the default is, and explain that users can pass =E2=80=98--max-layers=3D1=E2=80=99 if they want, well, a sing= le layer. Thoughts? Ludo=E2=80=99.