Hey!
Ricardo Wurmus skribis:
> From fefd4f02d003dd35bd0ab459ec2ccc9f9ad62ffa Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus
> Date: Tue, 3 Jan 2017 16:20:15 +0100
> Subject: [PATCH] guix: Add Docker image export.
>
> * guix/docker.scm: New file.
> * Makefile.am (MODULES): Register it.
> * guix
Hi Ricardo,
This is awesome! Just a couple things:
1) The amd64 architecture is hardcoded in the image. Should this
instead be set to the current architecture?
2) s/configuratio/configuration/ in the docstring for 'config' in
guix/docker.scm
Ludovic, Ricardo, anyone else: It might be nice if in
Ludovic Courtès writes:
>> --- a/doc/guix.texi
>> +++ b/doc/guix.texi
>> @@ -2438,6 +2438,12 @@ Read a list of store file names from the standard
>> input, one per line,
>> and write on the standard output the subset of these files missing from
>> the store.
>>
>> +@item --export-docker-ima
Ricardo Wurmus skribis:
> Chris Marusich writes:
>
>> What happens if I invoke this command while GC is trying to delete the
>> specified path?
>
> It will do weird things, I guess. It’s best to do this inside of “guix
> environment” as I demonstrated because while you’re in the environment
> t
Howdy!
Ricardo Wurmus skribis:
> Ludovic Courtès writes:
>
>> I’m not familiar enough with Docker but I’m under the impression that we
>> should be able to generate an image without even using Docker. :-)
>
> The attached patch adds a Docker export feature, so you can do this:
>
> docker l
Chris Marusich writes:
> What happens if I invoke this command while GC is trying to delete the
> specified path?
It will do weird things, I guess. It’s best to do this inside of “guix
environment” as I demonstrated because while you’re in the environment
the temporary profile is protected fro
Ricardo Wurmus writes:
> Ludovic Courtès writes:
>
>> I’m not familiar enough with Docker but I’m under the impression that we
>> should be able to generate an image without even using Docker. :-)
>
> The attached patch adds a Docker export feature, so you can do this:
>
> docker load < \
>
Ludovic Courtès writes:
> I’m not familiar enough with Docker but I’m under the impression that we
> should be able to generate an image without even using Docker. :-)
The attached patch adds a Docker export feature, so you can do this:
docker load < \
$(guix archive --export-docker
Jan Nieuwenhuizen skribis:
> Ricardo Wurmus writes:
>
>> I just played around with Docker and built up a command to create a
>> Docker image for Emacs.
>
> Nice!
>
>> Can anyone find a more elegant way to do this?
>>
>> guix environment --ad-hoc \
>> coreutils bash emacs-no-x-toolkit -- \
>>
Ludovic Courtès writes:
> Ricardo Wurmus skribis:
>
>> I just played around with Docker and built up a command to create a
>> Docker image for Emacs.
>
> Fun!
>
>> Can anyone find a more elegant way to do this?
>>
>> guix environment --ad-hoc \
>> coreutils bash emacs-no-x-toolkit -- \
>>
Ricardo Wurmus writes:
> I just played around with Docker and built up a command to create a
> Docker image for Emacs.
Nice!
> Can anyone find a more elegant way to do this?
>
> guix environment --ad-hoc \
> coreutils bash emacs-no-x-toolkit -- \
> sh -c 'tar -c $(guix gc --requisites $G
Ricardo Wurmus writes:
> Hi Guix,
>
> 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?
>
> --8<---cut here---start->8---
> guix environment --ad-hoc \
> coreutils
Hello!
Ricardo Wurmus skribis:
> I just played around with Docker and built up a command to create a
> Docker image for Emacs.
Fun!
> Can anyone find a more elegant way to do this?
>
> guix environment --ad-hoc \
> coreutils bash emacs-no-x-toolkit -- \
> sh -c 'tar -c $(guix gc --requ
On Mon, Jan 02, 2017 at 01:54:30PM +0100, Ricardo Wurmus wrote:
Hi Guix,
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?
"Docker" and "elegant" are two concepts which are
Pjotr Prins 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 thi
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,
Hi Ricardo,
this is really cool! Creating a docker image without even using the
"scratch" image.
> Can anyone find a more elegant way to do this?
I'd suggest to write a small shell-script which dumps the part after "sh
-c" into a temporary file. This makes this part more readable. The
script wou
> What do you think? Gross?
Cool!
Hi Guix,
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?
--8<---cut here---start->8---
guix environment --ad-hoc \
coreutils bash emacs-no-x-toolkit -- \
sh -c '
19 matches
Mail list logo