From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wKBFBFYJd2TM2gAASxT56A (envelope-from ) for ; Wed, 31 May 2023 10:46:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MAA6BFYJd2THKwEAauVa8A (envelope-from ) for ; Wed, 31 May 2023 10:46:14 +0200 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 BCA592E8F3 for ; Wed, 31 May 2023 10:46:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4HT1-0006Oo-Jc; Wed, 31 May 2023 04:46:03 -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 1q4HT0-0006OV-Bo for guix-patches@gnu.org; Wed, 31 May 2023 04:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q4HT0-0006Me-4R for guix-patches@gnu.org; Wed, 31 May 2023 04:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q4HT0-0007Fi-0N for guix-patches@gnu.org; Wed, 31 May 2023 04:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62153] [PATCH] Add Docker layered image for pack and system (v3) References: <20230313003012.14325-1-go.wigust@gmail.com> In-Reply-To: <20230313003012.14325-1-go.wigust@gmail.com> Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 31 May 2023 08:46: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: 62153@debbugs.gnu.org Cc: Oleg Pykhalov Received: via spool by 62153-submit@debbugs.gnu.org id=B62153.168552274627855 (code B ref 62153); Wed, 31 May 2023 08:46:01 +0000 Received: (at 62153) by debbugs.gnu.org; 31 May 2023 08:45:46 +0000 Received: from localhost ([127.0.0.1]:34841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4HSk-0007FC-JJ for submit@debbugs.gnu.org; Wed, 31 May 2023 04:45:46 -0400 Received: from mail-lf1-f51.google.com ([209.85.167.51]:38149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4HSf-0007Ex-Jr for 62153@debbugs.gnu.org; Wed, 31 May 2023 04:45:45 -0400 Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-4f4453b607eso990738e87.1 for <62153@debbugs.gnu.org>; Wed, 31 May 2023 01:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685522735; x=1688114735; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=q5xwnTwyxZlRIQ+AmsYG7aMw5GGuHuyD8/kAgcEx3XM=; b=A1bs+0+KLzfwhVypG63FxfNEn5DlaqgtbXEDWybhDPSuix2XeC16ixx7BLI8D3k4X5 is70hlVjzt5ByNpJZZTIcnhhseRZaV0m8XOcdjO6W49cWeIa2Setr7cvOC7ZKMUbT6Vy 2IZlfqO6mifjADaqNlNdxp1zqf4z6eu3NS23s9biUTR8Yxdf30Qqr0hkVa9EF0bFxZpd B+K9RttL3R6j+TqZQqhdth9ptUT1MpBVHh6NmlM9n4ahmxJD3i0W2XwzuHAUho8yOQ2R 3H89tlQ/j79MOl48j63e1tnAScEHq/VvIFIbZrNAW5Kc8uoxinpTkU80Y45fxyNVywGW dDWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685522735; x=1688114735; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=q5xwnTwyxZlRIQ+AmsYG7aMw5GGuHuyD8/kAgcEx3XM=; b=ZgHE9YG5e108LgKLTiTNVgRDjA1tYDeCphYEKBpMGXx/Id/9JSUe1T05jbMdTGbzO/ CjSzXWzbPzBpdr8wBwa27di7Jksiv9D1T9dP5QnQTIIZBjQhFt/zV7uhfHbBr6OjijSc ketnfNhdLyfBArjnz4Gv+FUHyYItM2rGP+dadIQ+7hOW+PqKIxpqfc+zXf5XNwYYceij ZSr5M4SZCBVNYokEHugtwlDWl1TtT5IVpWlKcbBBWAS2S0AlYXu3HFf1uzHNly6rjuuE 7j21Pa/WD8eZd+kk3umDOIUjesiTlYTILWl+QDaEXrMiwTgsJNz4FVoEWcrEfVTX0Qp6 jiYQ== X-Gm-Message-State: AC+VfDw7MrsUb0XNkmQaz3VBg23HlmHjjX0DMaJf7xVH4JIuRwNIuws8 S0SyoJGUSASi135XzpMMasnSo6XSxY8= X-Google-Smtp-Source: ACHHUZ7bwsSFXu6iV1WQ4HLZhhH8GepTaYZ4+NcBRVEl+unwBKlJ2St2MiIblLFowtUCLQaJfLEr2Q== X-Received: by 2002:a19:a415:0:b0:4ea:fafd:e66f with SMTP id q21-20020a19a415000000b004eafafde66fmr478685lfc.0.1685522734478; Wed, 31 May 2023 01:45:34 -0700 (PDT) Received: from guixsd.wugi.info ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id q8-20020ac246e8000000b004f14ae5ded8sm635811lfo.28.2023.05.31.01.45.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 01:45:34 -0700 (PDT) From: Oleg Pykhalov Date: Wed, 31 May 2023 11:45:29 +0300 Message-Id: X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685522773; a=rsa-sha256; cv=none; b=sbpOQsvc5AHODEB+tTctry5yjaIdUmTyOqklCRG8/p01pWB+Wg17ChoehpLTGQHR2IRFiS u65pgGP7/iI5ehkpxxnaoccKTlFI5Hu47OSNPbG+EZWPhxsjFMbTg9dKp6iTHUNXwGvSm6 4+7Q3US1pNQ2DXVahxUNF1KX5co3jkmm3Qw2nFWU4V93/FOgkNmL+I5nCFXiQxckmqS+Ou zA1iFxwmPLs/tvuCNYMG9Q1/FuYVWQQMlcQ3y+MaW4RxTi/0B+TF1DFlpV7Z6p6DfYTPG3 Lsez6veVB/aYCOcImgboThzKTpc1erhiL9ITQLxVhtnu7S0CxGKL0OfdTngVjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=A1bs+0+K; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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=1685522773; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=q5xwnTwyxZlRIQ+AmsYG7aMw5GGuHuyD8/kAgcEx3XM=; b=t9qxiYRMz+jFrtaa81S+R3PW2AVc1d4pDXT2CbNIauwyCadcJcwIkV4mW5BsVf57VZF3FM rXqAvS0HoDYK430ILtscp6aB6EaKcT78DFDznK35qjL3nFWZ8UixxwoRMAJUF4rWMJmAEN T+CLnbwvqV3Stb0WMdaNcDPTEZqxSqrtdwJ6PxBXFhtcQSVqAp5e/9NHnSWWyFCJ89XWVy rv6hc/9UUCq5FTjLQK2di8chabPfTI5Lk+FlpAOpKDF/2DXdrgXLiK8SzgIULCaJV0PUBV /pykpodbapilIN0in0lbdo8QfBXc9xb9KUaEIHkIND21dQAjQr4+Yh2fOZ3gvg== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=A1bs+0+K; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.35 X-Spam-Score: -2.35 X-Migadu-Queue-Id: BCA592E8F3 X-TUID: XylkEE6YWb6a Hi, Guix. These patches series is rebased on origin/master. Also, the Python script is replaced in favour of calls to GNU Tar and GNU Gzip programs. Passed tests: make check TESTS="tests/pack.scm" make check-system TESTS="docker-system" make check-system TESTS="docker-layered-system" Oleg Pykhalov (2): guix: docker: Build layered image. news: Add entry for the new 'docker-layered' distribution format. doc/guix.texi | 18 +++- etc/news.scm | 58 ++++++++++++ gnu/image.scm | 3 +- gnu/system/image.scm | 76 +++++++++++---- gnu/tests/docker.scm | 20 +++- guix/docker.scm | 205 +++++++++++++++++++++++++++++++--------- guix/scripts/pack.scm | 62 ++++++++++-- guix/scripts/system.scm | 11 ++- tests/pack.scm | 48 ++++++++++ 9 files changed, 424 insertions(+), 77 deletions(-) base-commit: 77f52db416a13e195d090cad4e9e7658feb2e86b -- 2.38.0