guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /etc/passwd & co. in Docker images


From: Ryan Prior
Subject: Re: /etc/passwd & co. in Docker images
Date: Fri, 20 Nov 2020 18:53:14 +0000

On November 20, 2020, "Ludovic Courtès" <ludo@gnu.org> wrote:
… what you’re doing here suggest that ‘guix pack’ should indeed create
those files.

Oh I think it should be an option. Many Docker 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've tried adjusting some Guix packages to produce static builds and seen dramatic reduction in bundle sizes. I've brought up those observations in IRC and from those convos I know most people aren't interested in static builds, but for deployments to a cluster, a tiny container image with a single static binary in it can be just the thing you want. This maybe plays into the "parametric packages" thread that's happening in parallel, because I could see offering this as a "static?" parameter on packages that support it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]