From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oBROIKdP0V57KwAA0tVLHw (envelope-from ) for ; Fri, 29 May 2020 18:08:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aCEZHKdP0V5MPgAAbx9fmQ (envelope-from ) for ; Fri, 29 May 2020 18:08:39 +0000 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 16DE6940997 for ; Fri, 29 May 2020 18:08:39 +0000 (UTC) Received: from localhost ([::1]:57054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jejQs-00014Y-1q for larch@yhetil.org; Fri, 29 May 2020 14:08:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jejQk-00014R-CQ for help-guix@gnu.org; Fri, 29 May 2020 14:08:30 -0400 Received: from mail-qv1-xf31.google.com ([2607:f8b0:4864:20::f31]:41640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jejQj-0001CV-Iu for help-guix@gnu.org; Fri, 29 May 2020 14:08:29 -0400 Received: by mail-qv1-xf31.google.com with SMTP id v15so1490593qvr.8 for ; Fri, 29 May 2020 11:08:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+H8q5Bm6qNTn+Iwh9GEXoZaqDECTDLibmd7OrJrIpt8=; b=vggRXJOnUq9rDs6p9wKKicmMrzhYUZ07ucvX/U29O/l6PVoG9WudpBDoJdRoaWQCpe 57o6Q0rUWju44Kyy0m0ZXNw+Cxq43MZv1NWd+ylocMqa/ebYrSjgpsyCZee9ytYERaX5 foocVf0kwFTHujxFNrXlinDvKOw5dmr94yufm7PvcOWhi/JA+lClipXXwp6vigSULY29 M8vf+Z1H4Wu5t7QcleV4JT1zI+iSBBZUAeyKVQ7zM2sbxj1sGx279U3bIJSzMXhlIfX+ 0GxOzz4uxwlkwwaBhPLfMUupc+c1b3eW0LlNjSXnXDf6J8SJPxhxS7dWq1GpGfTswvp+ 5+JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+H8q5Bm6qNTn+Iwh9GEXoZaqDECTDLibmd7OrJrIpt8=; b=L6PaCXIll+BbGH0l/m/wyaxBbMHxFptH8IAajNd2G9A4T34x5AVtLs72jUjxFBiex1 T7xdSv9UJGp/ebrcV95SKvccdG+iJ87CFayKX312s0FrkmtIjOGlgLf/EJCd6yIcR8Y8 Np1Lw0GL9i7tPDJq0odP+mDz/iVo7Tqr4r6T3G2NSxpz+kb4GjhvRYDu+m7KRQEI4XNC B4v4MMo9FICps2WsUmUKjLD289OzwpwE5faAXztXF3HfHxxV13F9erfU6qYgq5MIfRND LaYNRSHngJKx/mykbXYLyVdSYI7bWm+k/u5LUPddKmO5F+q+aJRvGqcbZE16uktAtf9Q o0sA== X-Gm-Message-State: AOAM5315nPus3JG7hjQ5l8Bi75J52CYExAWTWDSKFWtQkroj4STR2gYN 31dDOmzT/0+pPVrnSCUZmXVwrJdbmiVLmqRv2McIvaF0 X-Google-Smtp-Source: ABdhPJx919Oz+twtq5TZGqjhYyzRug3qbzRWsKT1Tn8f2pG5Gfkz8AigqXX1lwWdlhyZTDjo9RzK97VjIrsa+XhCHzY= X-Received: by 2002:a05:6214:12ad:: with SMTP id w13mr8818972qvu.74.1590775708398; Fri, 29 May 2020 11:08:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: zimoun Date: Fri, 29 May 2020 20:08:17 +0200 Message-ID: Subject: Re: Guix Docker image inflation To: Stephen Scheck Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::f31; envelope-from=zimon.toutoune@gmail.com; helo=mail-qv1-xf31.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 5.0 requ) BAYES_00=-1.9, DEAR_NOBODY=2.442, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=vggRXJOn; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.71 X-TUID: bbFu0LIDOdmp Dear, On Wed, 27 May 2020 at 21:42, Stephen Scheck wrote: > https://gitlab.com/singularsyntax-docker-hub/guix/-/blob/master/.gitlab-ci.yml How the initial Docker image singularsyntax/guix-bootstrap:1.1.0-alpine-3.11 is built? To understand, you use the Docker image singularsyntax/guix-bootstrap:1.1.0-alpine-3.11 to build another Docker image namely guix-docker-image.tar using Guix, right? Well, that is not the point neither the issue. :-) Well, instead of that --8<---------------cut here---------------start------------->8--- GUIX_PATH=/root/.config/guix/current/bin $GUIX_PATH/guix pull --branch=$CI_COMMIT_REF_NAME--fallback /root/.config/guix/current/bin/guix gc --delete-generations /root/.config/guix/current/bin/guix gc --collect-garbage /root/.config/guix/current/bin/guix gc --optimize docker commit /root/.config/guix/current/bin/guix package --install --fallback jq --8<---------------cut here---------------end--------------->8--- could you try that --8<---------------cut here---------------start------------->8--- GUIX_PATH=/root/.config/guix/current/bin $GUIX_PATH/guix pull --branch=$CI_COMMIT_REF_NAME--fallback /root/.config/guix/current/bin/guix pull -d /root/.config/guix/current/bin/guix package -d /root/.config/guix/current/bin/guix gc docker commit /root/.config/guix/current/bin/guix package --install --fallback jq --8<---------------cut here---------------end--------------->8--- ? Last, you could try to see what "guix package --list-profiles" says and then "guix gc --list-dead". Hope that helps, simon