From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1es1eH-0000yI-IZ for guix-patches@gnu.org; Sat, 03 Mar 2018 02:32:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1es1eE-0008Ns-E4 for guix-patches@gnu.org; Sat, 03 Mar 2018 02:32:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33871) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1es1eE-0008Nc-Ap for guix-patches@gnu.org; Sat, 03 Mar 2018 02:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1es1eD-0008Kf-UW for guix-patches@gnu.org; Sat, 03 Mar 2018 02:32:01 -0500 Subject: [bug#30572] [PATCH 6/7] system: Add "guix system docker-image" command. Resent-Message-ID: From: Chris Marusich References: <20180222103528.5108-1-cmmarusich@gmail.com> <20180222103528.5108-6-cmmarusich@gmail.com> <87k1uzr9vt.fsf@garuda.local.i-did-not-set--mail-host-address--so-tickle-me> <87efl6z71j.fsf@gnu.org> Date: Sat, 03 Mar 2018 08:31:25 +0100 In-Reply-To: <87efl6z71j.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 27 Feb 2018 18:17:12 +0100") Message-ID: <87po4l8vjm.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30572@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, Thank you for taking the time to review the patch series! ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Chris Marusich skribis: > >> + (mlet %store-monad ((os-drv (operating-system-derivation os #:contain= er? #t)) > > Since has a gexp compiler, this line is no longer > needed. Instead you can write: > > #~(do something with #$os) Will this work even though I need #:container? to be #t? > What about here replacing =E2=80=98build=E2=80=99 on the line above with = something like: > > #~(execl #$(program-file "build-docker-image.scm" build) > "build-docker-image") > > This would create a =E2=80=98build-docker-image.scm=E2=80=99 script that = uses the real > Guile 2.2, but we could still use guile-static-stripped in the initrd. > > WDYT? That sounds like a good idea. I'll look into it and send an update in a few days. By the way, if you have any thoughts regarding the questions I asked in the very first email of this patch series, I'd love to hear them! =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlqaT00ACgkQ3UCaFdgi Rp1MsA//efQUobfBhsugsZn9MpH0YUQyPhorvlmzXsLaDERqwiGaH5EdgbdjHTEO 9Q7m8o1ikYw93aEZT1S2OFfd5vkpUlWgvtZiw74/tGVb4wNbcz4v4FvIG5tWmcXe b4dSxfJDHirRkUNdH+D+hfyhLkCfXDHmPuREOrV/IhSkYfKore3DYw+cJduKPQNk 2j4OCUQ1YqkmWTUUybZh8ay4WfWZN6gz6qw38DTIsbacyiRqvsQbWyg17uyWuymi nlwWxu5/OwJCvWViPTJljHqBhsdr+3N+devsgfuHdOUZ4kc92Cv553cTf5fWVYuc LsP43dbZqcEcOn035ixf8hCIkf97hzTLty7VWIQ9i2Th6JmECeXXQOlj1Ae48C/8 BrjL/98zgElwbhg6uNsneb8pXwUhMFZibur4GnMMqBITbCgRwmXMlJr9CfqzSJ9k j56Np+zlUrGm9vFxTkiCudwtceoVBk3c7CQlDxa/foVv/2dMTjpGb55oF+b9g5Wy LglBU/P/FS6jOdTOQT1mvDs1EuhtAsgO4oscfujQpERunhwtDgr6CH1FIRbNQOf9 RjP7VWMIKZEAD50as5GVEBpeaFpPjgONuSOsWuUh+NeT7M9et9wRH2w23GydYGzC 3EeSjKGPDUGxZ+3pJ1+rMjyPpXp5scnGl0a1hCIrDNopXcSf6co= =sZsd -----END PGP SIGNATURE----- --=-=-=--