guix-devel
[Top][All Lists]
Advanced

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

Re: Docker export: add /etc/environment?


From: Ludovic Courtès
Subject: Re: Docker export: add /etc/environment?
Date: Tue, 22 Aug 2017 11:05:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

Ricardo Wurmus <address@hidden> skribis:

> Especially for “guix pack -f docker” it makes sense to me to include a
> default “/etc/environment” that includes things we set up in GuixSD by
> default, such as GUIX_LOCPATH, and that sources the packed profile’s
> “etc/profile”.
>
> What do you think?

That sounds useful, though you still need something to read
/etc/environment, or does Docker do it automatically?

Looking at
<https://github.com/moby/moby/blob/master/image/spec/v1.2.md>, perhaps
the right way would be to define “Env” in the JSON file of the image?

Thanks,
Ludo’.



reply via email to

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