From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Docker export: add /etc/environment? Date: Tue, 22 Aug 2017 11:05:30 +0200 Message-ID: <87bmn8as6d.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dk57z-0003ks-KS for guix-devel@gnu.org; Tue, 22 Aug 2017 05:05:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dk57t-0000GX-CU for guix-devel@gnu.org; Tue, 22 Aug 2017 05:05:39 -0400 In-Reply-To: (Ricardo Wurmus's message of "Mon, 21 Aug 2017 12:02:39 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel Hello, Ricardo Wurmus skribis: > Especially for =E2=80=9Cguix pack -f docker=E2=80=9D it makes sense to me= to include a > default =E2=80=9C/etc/environment=E2=80=9D that includes things we set up= in GuixSD by > default, such as GUIX_LOCPATH, and that sources the packed profile=E2=80= =99s > =E2=80=9Cetc/profile=E2=80=9D. > > What do you think? That sounds useful, though you still need something to read /etc/environment, or does Docker do it automatically? Looking at , perhaps the right way would be to define =E2=80=9CEnv=E2=80=9D in the JSON file of = the image? Thanks, Ludo=E2=80=99.