Hello,

Ricardo Wurmus <[email protected]> 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