guix-devel
[Top][All Lists]
Advanced

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

Re: Creating a docker image with Guix


From: Ricardo Wurmus
Subject: Re: Creating a docker image with Guix
Date: Mon, 2 Jan 2017 16:22:49 +0100
User-agent: mu4e 0.9.16; emacs 25.1.1

Pjotr Prins <address@hidden> writes:

> On Mon, Jan 02, 2017 at 01:54:30PM +0100, Ricardo Wurmus wrote:
>> I just played around with Docker and built up a command to create a
>> Docker image for Emacs.
>> 
>> Can anyone find a more elegant way to do this?
>
> Not really - you always end up with something like this. We have run
> the guix daemon, but that requires docker with privileges. 

I see three options:

* build a base image like I did here
* use “FROM scratch” and ADD a closure.tar that contains everything
  “guix gc --requisites” reports (very slow)
* use guix-daemon inside the docker image, but that requires special
  privileges at container runtime

~~



reply via email to

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