From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 8BAaCNAmV2bmOgEAe85BDQ:P1 (envelope-from ) for ; Wed, 29 May 2024 15:00:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8BAaCNAmV2bmOgEAe85BDQ (envelope-from ) for ; Wed, 29 May 2024 15:00:00 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=GM03dVjR; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716987600; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=yFuqS7jhBJ4WPrF7fWnL1n2YUXcRBDpMqjGoyqEuIIE=; b=itsNjHgPYHooklBdoA10omBfcOhgjRmQzECJwkg/6fW2EG9zluuCCdU+SWRqiMm/R8uvFs SQqa6YHgYERGENru3sykWjeZLmxjdCmZfNz6O1g1FnFeROt/cROI6oJmkFYpS6krPxQSR0 7AArjLq5qctSm2fZEBTTciZjvnQL/IkCHfJHFZTekHn8PUd8G+sAJxao7+jd187MJ2wO2q QfOtTv1U8fJ9YEtb8FoJV/iG/wV5ldY/FhvbEJMEfK0ti0+dIauS20uVfYK71B54pUzVUa OIsfHXaZv20NjUIG0nV7BcUrYe5ypZ/cCZHFoQXIKrFs7auXp1+uQ4GLaD+9vA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1716987600; a=rsa-sha256; cv=pass; b=iHfD9eEpGTasQVg6+4ML5GjdFIxYpgGslCXeJALh2F8mQJGSjcIOtVcqFZLyS5tbnKpKbd oSCiTU5sfErl9RZU5wCdfL+QhRgY//MUAZOj/MoN77MB9aj1WR4HEIDhF5sRa8p9JIrV4g NGwH2QkMPptZMvjUcCi8I/jHHihGPLKsRzwX1tvkJrYRvIzy8qon4CWudYJYjotXxNf/Vg 0WQSITiNuWsXAThKXNl/EI6WNhTYuqddtmqP1j5E7NnvviqNbGwexima3+ylNqLX19buAa ehRgMatqNMZ3jYS5wVpiumN5I123o6p/PiUBcXcKo/CKxg3CfcF97FYNfQk+lg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=GM03dVjR; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-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 ED593EA88 for ; Wed, 29 May 2024 14:59:59 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCItP-0002jr-KQ; Wed, 29 May 2024 08:59:00 -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 1sCItN-0002jG-RL for guix-devel@gnu.org; Wed, 29 May 2024 08:58:57 -0400 Received: from sender3-of-o58.zoho.com ([136.143.184.58]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sCItK-0000nX-5u for guix-devel@gnu.org; Wed, 29 May 2024 08:58:57 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1716987529; cv=none; d=zohomail.com; s=zohoarc; b=Mlw5iFX/zmfXUsJ+sGOTukEXURdkJqAjeMSaeeJBON83OpOAOWlV3yg4ocV8N0Il5weFKB1XAJQA1NS/Fzhg3KYG70O1J9ogDPKmU1UauMDBc9Gwj0/6Nc1RTW5tAXaR2g4Th7Aj7qYO1yjb/VZ77fy6LaiqzsEBMhQyBeQGNl8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1716987529; h=Content-Type:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=yFuqS7jhBJ4WPrF7fWnL1n2YUXcRBDpMqjGoyqEuIIE=; b=hEq3N/AjNYoo0Vg4e+F/8Ekf5TACODykRMlkEJsKoqS5CQYXDqT1IdIG/kIKFVAEz/x2eW1P63k2rx/akWk8JbZj4O8pxuOMCZ/SyuD9xk0mI0gzqoVeELdrsyUed3grKwyM/na/keCJ8FEzUUdC73vsb032L3uceH9DW3H3bK0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1716987529; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=yFuqS7jhBJ4WPrF7fWnL1n2YUXcRBDpMqjGoyqEuIIE=; b=GM03dVjRkfRqyiMIBHhpIOyn5wVTCC5zfTB+pp0WrhaDhjvkS3zyYRzKnYvbw9eV jB+IXjfFO08tSYN4IuDuv3sOMdQ7GDsaWuz5cEd2L3BK+K09HuiGQau8piaMU9FJcTg VO6wscKwctuXM64ERHZccdqJvB5Ta6pc5xcUEy2Q= Received: by mx.zohomail.com with SMTPS id 1716987527610294.34797461892833; Wed, 29 May 2024 05:58:47 -0700 (PDT) From: Ricardo Wurmus To: guix-devel@gnu.org Subject: "guix pack -f docker" does too much work User-Agent: mu4e 1.12.4; emacs 29.3 Date: Wed, 29 May 2024 14:58:44 +0200 Message-ID: <87sey0lqpn.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.184.58; envelope-from=rekado@elephly.net; helo=sender3-of-o58.zoho.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, 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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.05 X-Spam-Score: -5.05 X-Migadu-Queue-Id: ED593EA88 X-Migadu-Scanner: mx11.migadu.com X-TUID: DefKqamXn1Qw Hi Guix, a few months ago "guix pack -f docker" was modified to produce layers. This is great! Unfortunately, "guix pack" itself still produces one big tarball containing all these layers. There is no sharing of previously built layers, because they are all hidden inside the pack. I think it would be great if "guix pack -f docker" could avoid building all these identical layers again and again. Perhaps it would be possible to have a single derivation for each layer? This way we wouldn't have to recreate the same layer archives every time. What do you think? -- Ricardo