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 0OK/IwwSuF9yNQAA0tVLHw (envelope-from ) for ; Fri, 20 Nov 2020 18:59:24 +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 EKySHwwSuF/mPwAAbx9fmQ (envelope-from ) for ; Fri, 20 Nov 2020 18:59:24 +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 4C204940363 for ; Fri, 20 Nov 2020 18:59:24 +0000 (UTC) Received: from localhost ([::1]:45108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgBcw-0001wF-VY for larch@yhetil.org; Fri, 20 Nov 2020 13:59:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgBXP-0005P6-1z for guix-devel@gnu.org; Fri, 20 Nov 2020 13:53:39 -0500 Received: from 101c.relay.hey.com ([204.62.115.197]:49101) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgBX9-0007Hx-Fj; Fri, 20 Nov 2020 13:53:38 -0500 Received: from hey.com (bigip-vip-new.rw-ash-int.37signals.com [10.20.0.24]) by 101.relay.hey.com (Postfix) with ESMTP id D42BBA13FB; Fri, 20 Nov 2020 18:53:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hey.com; s=heymail; t=1605898395; h=from:from: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; bh=FOP0LEI2oJhHRIL3TIsAEFLv6pEnolhfjobH85NDS2Y=; b=W7Qb6D1OIP8eD6UdE6HYmJgeQRJJzv3tMiz9bQGfX17KS11X+tVpkhTZzjXoriFPI1aM/S /YAeB1PH+YCUwFcOZBgoy8Gko9+x5/gzD+E1UhjF0gGsu1FvxNXnUjWej/gvDtilFFOQbF StmVTmtzDvac4Nn32+k5wYEBKTB9HY2sgiI1oWLlP25ozpDPQnx5F9JuYHvH1XgeVNCfq4 SfFMEMsCr35wVLaOlQSpPK8qbC3mZTljjIjZSvFhDrooA7XR5//MuVChi6raLnxy/N20eJ NEMZe4Mdzr4zZR/X2vGS6t70g12mlFIejlK52G2udlij5hZPcbE21wWvEPTH9w== Date: Fri, 20 Nov 2020 18:53:14 +0000 From: Ryan Prior To: Danny Milosavljevic , =?UTF-8?B?THVkb3ZpYyBDb3VydMOocw==?= Cc: Development of GNU Guix and the GNU System distribution Message-ID: <3eb256f1afb57ad0636b610deeab49278dd56a83@hey.com> In-Reply-To: <874klkfej4.fsf_-_@gnu.org> Subject: Re: /etc/passwd & co. in Docker images Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5fb8109b953f9_1e2e2dc88133a"; charset=UTF-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=204.62.115.197; envelope-from=ryanprior@hey.com; helo=101c.relay.hey.com 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=hey.com header.s=heymail header.b=W7Qb6D1O; dmarc=pass (policy=quarantine) header.from=hey.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: tW6QVb7TOaY0 ----==_mimepart_5fb8109b953f9_1e2e2dc88133a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On November 20, 2020, "Ludovic Court=C3=A8s" wrote:=0D > =E2=80=A6 what you=E2=80=99re doing here suggest that =E2=80=98guix pac= k=E2=80=99 should indeed create=0D > those files.=0D =0D Oh I think it should be an option. Many Docker containers do not need=0D those things, but it would be great to have the option to include them.=0D= =0D Another option that would be nice, for the sake of `guix deploy` and=0D `guix pack`, is to produce a static build. I've tried adjusting some=0D Guix packages to produce static builds and seen dramatic reduction in=0D bundle sizes. I've brought up those observations in IRC and from those=0D= convos I know most people aren't interested in static builds, but for=0D deployments to a cluster, a tiny container image with a single static=0D binary in it can be just the thing you want. This maybe plays into the=0D= "parametric packages" thread that's happening in parallel, because I=0D could see offering this as a "static?" parameter on packages that=0D support it.=0D ----==_mimepart_5fb8109b953f9_1e2e2dc88133a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D
=0D
=0D
On November 20, 2020, "Ludovic Court=C3=A8s" <ludo@gn= u.org> wrote:
=E2=80=A6 what you=E2=80=99re doing her= e suggest that =E2=80=98guix pack=E2=80=99 should indeed create
those = files.

Oh I think it should be an option. Many Docke= r containers do not need those things, but it would be great to have the = option to include them.

Another option that would be nice, for the= sake of `guix deploy` and `guix pack`, is to produce a static build. I'v= e tried adjusting some Guix packages to produce static builds and seen dr= amatic reduction in bundle sizes. I've brought up those observations in I= RC and from those convos I know most people aren't interested in static b= uilds, but for deployments to a cluster, a tiny container image with a si= ngle static binary in it can be just the thing you want. This maybe plays= into the "parametric packages" thread that's happening in para= llel, because I could see offering this as a "static?" paramete= r on packages that support it.
=0D
=0D =0D =0D
=0D =0D =0D ----==_mimepart_5fb8109b953f9_1e2e2dc88133a--