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 yJp7NZXCzl60bAAA0tVLHw (envelope-from ) for ; Wed, 27 May 2020 19:42:13 +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 oBw6MZXCzl5MTAAAbx9fmQ (envelope-from ) for ; Wed, 27 May 2020 19:42:13 +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 683419404CA for ; Wed, 27 May 2020 19:42:13 +0000 (UTC) Received: from localhost ([::1]:37430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1je1wK-0002W2-C3 for larch@yhetil.org; Wed, 27 May 2020 15:42:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1je1wC-0002V8-1l for help-guix@gnu.org; Wed, 27 May 2020 15:42:04 -0400 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]:33751) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1je1wB-0002S3-4f for help-guix@gnu.org; Wed, 27 May 2020 15:42:03 -0400 Received: by mail-lj1-x232.google.com with SMTP id w10so30478568ljo.0 for ; Wed, 27 May 2020 12:42:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=u1XwpWFztCcmW2iqzkACBgs5K+Bvyn4c9w7JzIXhmT0=; b=S9br2PBDFXegqng12Prdco970mku7aJWCss/VjhOdFLQuQU9CnJBQ1UBE75yks4qqE saqmEoNOLpjhBlISzzik+XFK6nBPMi6j6UOeP+VZuBB2wHpeO9ND6QQVFGcZfE5Wtnpg l+0tq9FLjpbjM8KlO9RHJyOutLl92AWGRsIiLvtKeMTX8XMvlYSgnjuee+OyOv+B+fWt HLC7HHBqHbq1ApIbE44Jw4p0IG0Px//Wd+Nv12dx/KhbdjaTHgSDYqX1FAB7UUZ0sPOq P2Ymio9DSdjyIhyaioySWUaes9oT5w0N3p8rcHwXkJ+bEgAug4TKPGNSSvij+j5hGGIz fr+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=u1XwpWFztCcmW2iqzkACBgs5K+Bvyn4c9w7JzIXhmT0=; b=ft96FcUwU4RUMG+oTNp7nDeibfnrwT/f2sxs5ok7ivOEw1NLP0Ns9il3Az3JN2Xq5f up0oKCFt0/Y8kBPMVbnJll8GWkmZqiOJMnPZ9pK7eMEfP6b/vBr+0weVWlkkkpMPTbqg ojYU72asAxt6sgfUFzeLIigHXiKdLtw2KeSf7PY+QWfuJfJWuxNAm4NdSgBkLxKmcnj+ +p8I/RKEJrJZvpaE0MtFghjQqMc1wHAEEHZGYpA2L3mW+OoHLrFO5MnjFS5oJbdQoyEg 4wQH/3TYB9psbCzdPwgWld51szVeXyb01QV8D1qifaurvMiziAP6HmNkmmeLMeuKPbIy wT9Q== X-Gm-Message-State: AOAM532cApjuoCKC1fEBB0JIgtd8YXtaWWUYY9so83CvxraLa6nKNO2G wKjbszrMbH/bE7qqsl0+GKniQbWu6Ix2TjETlow+uOHq X-Google-Smtp-Source: ABdhPJzbiYZFkeLwump6YqIjwSotilF9HbC5u1UdPyYQ0LnmB6cxg0vB3YM5egTV5tv26DBANAHoHM+z523vmU1/cY8= X-Received: by 2002:a2e:9b09:: with SMTP id u9mr3969191lji.301.1590608520492; Wed, 27 May 2020 12:42:00 -0700 (PDT) MIME-Version: 1.0 From: Stephen Scheck Date: Wed, 27 May 2020 15:41:49 -0400 Message-ID: Subject: Guix Docker image inflation To: help-guix Received-SPF: pass client-ip=2a00:1450:4864:20::232; envelope-from=singularsyntax@gmail.com; helo=mail-lj1-x232.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: -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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=S9br2PBD; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 2.59 X-TUID: ZUFfGSHc++dA Hello, As an exercise, I set up daily Guix System Docker image builds using GitLab and Docker Hub, here: https://hub.docker.com/repository/registry-1.docker.io/singularsyntax/guix/tags?page=1 The build process works as follows: if an existing `latest` image does not exist for a given branch (master, 1.1.0, etc.), then bootstrap an image by running `guix system docker-image` inside an Alpine Linux Docker container with a fresh Guix installation. Using this image as a seed, `guix pull` is run for the desired branch, and the resulting image is committed to the Docker repository. If a "latest" image does exist, it is used instead as the base from which to run `guix pull`. Daily images are thus built incrementally from the previous day's build. For anybody curious about the process, the build script can be browsed here: https://gitlab.com/singularsyntax-docker-hub/guix/-/blob/master/.gitlab-ci.yml It works pretty well, except that I'm observing substantial image size inflation day-over-day, starting at ~197 MB from the seed image, now up to 1.71 GB eleven days later despite running `guix gc --delete-generations`, `guix gc --collect-garbage`, and `guix gc --optimize` after pulling prior to committing each new image. I'm wondering if there is some other Guix GC operation or option I'm missing, or any other suggestions which could stop this unsustainable image bloat from occurring. I really do doubt that the Guix System itself is growing this quickly.