From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id SEfJMzSAYWav+QAAqHPOHw:P1 (envelope-from ) for ; Thu, 06 Jun 2024 11:24:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id SEfJMzSAYWav+QAAqHPOHw (envelope-from ) for ; Thu, 06 Jun 2024 11:24:04 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=inria.fr header.s=dc header.b=kqfHzKvK; dmarc=pass (policy=none) header.from=inria.fr; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717665844; a=rsa-sha256; cv=none; b=UoYPaqD5LICBYc8m7+AgoAuipDunWlzs/Tg9tG43Pkpj4DGfEzHVf+hl4YhtJhKxJAShLr bRLvgIYT1Pg9IYF/IByQKwpX/jx2rxC0X8Q9GpuzriZf3Y+SJpZlITWmuSnBqQQ8wr15D/ rvDTWL8p1aG45JCnuTQwRNiphq60XPxqqDMsWqGleriFXXJRR7L9eOPDH4Sn1dojaG55s7 zd7juqPGldDOemUlw4DYEFgySLAYXPCVNKBcQ8EypSAIXLVoMIK1iQqVfco5RMjP/5Qhiq Qh27nJ8JqiGeDb94XQ0ET7TJxlbCX3DqdZtytZAcidwTnzcUVLrxvwsTkddEFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=inria.fr header.s=dc header.b=kqfHzKvK; dmarc=pass (policy=none) header.from=inria.fr; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717665844; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=otHTWs+PzdyGqi/0lUOh3/3bOaL9VWEY+yVPdcYDpl4=; b=VHwsCVi1oJkMGXYvi31rjyJxQKGCZb5TcdzCMBa0eEVkhRxqWpAbXwZvItX6aklPUI9j5G kY8SFWMo9idE+UvVs/WndJRho/rf0o9JMDWmLuzkqkuNYPRC3VDMFlkUnQPkkLFRpCflHb a8r8Rnt03sBwfhAi0JYV6g27O0re1HR3tEGGtFjgNn0WYE/ABvJZPoRUU5xSScKF8De8QO v22uX1mUm8ByFxXDSL633rZEFNLgLmDixDav6aOhPSilOMEBCDYHM81J10QVylgfPzYRW/ w48WVaY9vz+5rPNKfhxVcx7QcTdPvHKY18JmR+JKX4zoUakTWOtr0UrR80nNaQ== 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 A5A8630C61 for ; Thu, 6 Jun 2024 11:24:04 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sF9LF-00042G-13; Thu, 06 Jun 2024 05:23:29 -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 1sF9LD-00041j-I3 for help-guix@gnu.org; Thu, 06 Jun 2024 05:23:27 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sF9LB-00051A-K4 for help-guix@gnu.org; Thu, 06 Jun 2024 05:23:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=otHTWs+PzdyGqi/0lUOh3/3bOaL9VWEY+yVPdcYDpl4=; b=kqfHzKvKasgVxmt7y/MYpU1SPCRphqMbFOTW4AsHl9pQiUqDucF/SpTf fcqm9SHZiL+1EoLBP8Naf0dwTmQTgWqisKepgLKbM2r+tBFmVzqX2o+UV boy9NQFM3UR5ZV7Li/07C4k8DRXjEuSHksFQqPniTbGQlMAb2G8Wpn4hH A=; X-IronPort-AV: E=Sophos;i="6.08,218,1712613600"; d="scan'208";a="169306526" Received: from unknown (HELO ribbon) ([193.50.110.149]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2024 11:23:20 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Andreas Enge Cc: Reza Housseini , help-guix@gnu.org Subject: Re: Building a Docker image for GitLab-CI In-Reply-To: (Andreas Enge's message of "Wed, 5 Jun 2024 10:55:51 +0200") References: <87bk8kbqpr.fsf@inria.fr> <878qzqtjqy.fsf@housseini.me> <87plsx6j59.fsf@inria.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 19 Prairial an 232 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour du Tilleul X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 06 Jun 2024 11:23:20 +0200 Message-ID: <87r0da5ss7.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.83; envelope-from=ludovic.courtes@inria.fr; helo=mail2-relais-roc.national.inria.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: help-guix@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: A5A8630C61 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -12.05 X-Spam-Score: -12.05 X-TUID: /cG+8SMnm8zI Hi, Andreas Enge skribis: > Am Tue, Jun 04, 2024 at 01:29:22PM +0200 schrieb Ludovic Court=C3=A8s: >> My goal would be to be able to use Guix within the image, so I can have >> GitLab-CI spawn =E2=80=98guix build=E2=80=99 commands (or similar). > > with a colleague we have set up such a system. He has started from a Debi= an > image and written a docker script to install Guix "manually", which provi= des > our base image. Then Gitlab CI creates a new image from a channels file in > the git repository we want to monitor. The command we use is > "guix system image -t docker" and not "guix pack"; To be able to do that, you need to have Guix already up and running in the Docker image you pass to GitLab-CI: that=E2=80=99s the problem I=E2=80= =99m trying to solve. Or did I misunderstand? (It=E2=80=99s possible to sidestep that problem for instance by having GitL= ab-CI offload to a runner in a machine that you control, where Guix is installed. But I=E2=80=99m looking for a solution that could work out-of-the-box on any GitLab-CI or similar instance.) Thanks, Ludo=E2=80=99.