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 jfYrLliU0l5kNgAA0tVLHw (envelope-from ) for ; Sat, 30 May 2020 17:14:00 +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 eFlaKViU0l64aQAAbx9fmQ (envelope-from ) for ; Sat, 30 May 2020 17:14:00 +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 486A59404DF for ; Sat, 30 May 2020 17:14:00 +0000 (UTC) Received: from localhost ([::1]:57344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jf53X-00062Z-8o for larch@yhetil.org; Sat, 30 May 2020 13:13:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jf53P-00062N-IT for help-guix@gnu.org; Sat, 30 May 2020 13:13:51 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:39149) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jf53O-0002en-LA for help-guix@gnu.org; Sat, 30 May 2020 13:13:51 -0400 Received: by mail-lf1-x130.google.com with SMTP id z206so1535689lfc.6 for ; Sat, 30 May 2020 10:13:50 -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=jf4qvTrOA9gLt+RSnj3GTh+U9GEZ7AMtyqKXesMw3T0=; b=phje4u7WN9ZhKwyHHp5EHqAqGLUQOS1WW7TtUtTzc0UPf2Gpp+2aRGgVhSPX+DSCfC rraNjDIYBPY8ETVEtmix+lXg1J8HLCDZ2GDnAkGTTyQMSDdt5lPF0Vyxbf7wFekerO4j AhmA+CoHl+hHjsSVRzcSRF//hGgkl65nh2AL9v3vVqiXgZXac4MhUs9gmMkHDdUKyGhk s0PkHs3txJ5e3oGkDRRUTNMofDfoubMnRsD2XlWFUcJGZsiHjLptYTLemKmzelCbVYdC vlgcMAKyozIIsksdmrDH3MK07DVq7MS93Cb8KUJZY4/Cy0ZTM4b+Ywv7+s+1TYoy8c+m 1XkA== 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=jf4qvTrOA9gLt+RSnj3GTh+U9GEZ7AMtyqKXesMw3T0=; b=Wec9GMKK49wVwSz4ZKE4cRBbAZGmnF16FbCtFxfNO9FwFJeIqhxzi+AyWT2SDi8RWB Rykv0p/HtFOPfp/OthuGy5R04kraJLTcGWcZ44HRP/0tGBlp/vihSyJ7nPt1mGtuRein A82I9xKI2Bm5oznReHf3tCmSXd9Bf9UH2NFAy+sY+I4Dgy4DvlCpdftHxJF/thyrN9ov TmXy9+nLO49KsHnLgKBiYWTjuinTLcESAR9ZzYppuEznyiaz05694s2EB4kyRqU6GEIf p8LmRN0yQcFgCOAHB/0+G0Hcx3MqqI51QvbCX8+zXneVvPxYeYGqT0IamISKmWUWQW1e XdRA== X-Gm-Message-State: AOAM530rBF1QGl3et0agcYHwrKLS3PNqy4VCYH+r0iUMxCbNFKAzrpdj /lZ7TjS+svw7ucClI0Bh08OvE1ffhZ+E4eWixI4= X-Google-Smtp-Source: ABdhPJwzU41kyG3WKlgGLQOKAWLFxqT7rRu27cc5NDbg0/Q1tWFgLWawH0bk9ZcDTVkyjjJPn9TksHEUwxYdfkkSrF8= X-Received: by 2002:ac2:55b2:: with SMTP id y18mr7186866lfg.55.1590858828857; Sat, 30 May 2020 10:13:48 -0700 (PDT) MIME-Version: 1.0 References: <87h7vyxqrz.fsf@gmail.com> In-Reply-To: From: Stephen Scheck Date: Sat, 30 May 2020 13:13:37 -0400 Message-ID: Subject: Re: Guix Docker image inflation To: zimoun Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=singularsyntax@gmail.com; helo=mail-lf1-x130.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: , 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=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=phje4u7W; 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: 0.09 X-TUID: xzM2C7pThtOd On Fri, May 29, 2020 at 7:55 PM zimoun wrote: > Thank you for the explanation. The issue is these layers. When I > wrote [1], it was not clear for me because I am not enough familiar > with Docker, but with your explanations, it is clear now. :-) > > [1] http://issues.guix.gnu.org/41607#1 > No, it is not layers - they are a symptom, not the cause. See my reply to Chris. The problem is clearly that Guix isn't deleting garbage files ... which may have something to do with how Guix interacts with files in the file system and differences in Docker environments (no idea, I don't know how Guix works, but perhaps it needs some special privilege enabled when it runs inside Docker containers?), but layers themselves do not prevent file deletion inside a container. > > FYI, Guix itself can build Docker images from scratch - no base image > > required! It can even build a Docker image of a full-blown Guix System > > from scratch. Sorry if you already knew that - I just wanted to point > > it out in case you didn't! > > I think the idea is to use GitlabCI to build the Docker images > containing Guix materials. And AFAIK, GitlabCI does not provide Guix > related tools, isn't it? I mean there is no gitlab-runner able to run > guix-daemon. If I remember well, we discussed about this topic at > FOSDEM, it should be awesome. :-) > It is possible to host your own external Runners, and have them utilized by CI/CD jobs running inside the GitLab cloud service. You could install Guix on them and configure your CI/CD pipeline to require execution of certain jobs on these custom runners. But I'm not sure I see why that would help?