unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Docker export: add /etc/environment?
Date: Tue, 22 Aug 2017 11:05:30 +0200	[thread overview]
Message-ID: <87bmn8as6d.fsf@gnu.org> (raw)
In-Reply-To: <idjy3qdw85c.fsf@bimsb-sys02.mdc-berlin.net> (Ricardo Wurmus's message of "Mon, 21 Aug 2017 12:02:39 +0200")

Hello,

Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> 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’.

      parent reply	other threads:[~2017-08-22  9:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-21 10:02 Docker export: add /etc/environment? Ricardo Wurmus
2017-08-21 11:03 ` Andy Wingo
2017-08-22  9:05 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bmn8as6d.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=ricardo.wurmus@mdc-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).