guix-devel
[Top][All Lists]
Advanced

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

/etc/passwd & co. in Docker images


From: Ludovic Courtès
Subject: /etc/passwd & co. in Docker images
Date: Fri, 20 Nov 2020 12:34:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi,

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> After Ryan Prior's E-Mail I'm pretty sure my workaround of creating /tmp,
> /etc/passwd, /etc/group etc is what Docker actually expects one to do.

I’ve been pondering whether to create those files in ‘guix pack -f
docker’ and…

> ADD etc/passwd /etc
> ADD etc/group /etc
> ADD etc/services /etc
> ADD with-guix-daemon.scm /
> RUN ["/usr/local/bin/guix", "repl", "/set-mtimes.scm"]

… what you’re doing here suggest that ‘guix pack’ should indeed create
those files.

Thoughts?

Ludo’.



reply via email to

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