[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating a docker image with Guix
From: |
Ludovic Courtès |
Subject: |
Re: Creating a docker image with Guix |
Date: |
Tue, 03 Jan 2017 13:38:10 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Jan Nieuwenhuizen <address@hidden> 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 -- \
>> sh -c 'tar -c $(guix gc --requisites $GUIX_ENVIRONMENT) | \
>> docker import -c "ONBUILD RUN [\"$GUIX_ENVIRONMENT/bin/ln\",
>> \"-s\", \"$GUIX_ENVIRONMENT/bin\", \"/bin\"]" - emacs-base' \
>> && echo -e "FROM emacs-base\nCMD [\"/bin/emacs\"]" | \
>> docker build -
>
> Could this be used to package and deploy our cross built guile.exe?
>
> I find myself kind of waiting for some inspiration to take the next
> step in the MinGW cross builds...
For MinGW, I think it’d be more convenient to just create a standalone
tarball like we do for the Guix binary tarball installation (does Docker
now run on Windows anyway?).
The ‘guix pack’ command I have in mind would generalize what “make
guix-binary.x86_64-linux.tar.xz” does.
Ludo’.
- Re: [PATCH] Creating a docker image with Guix, (continued)
- Re: [PATCH] Creating a docker image with Guix, Ludovic Courtès, 2017/01/04
- Re: [PATCH] Creating a docker image with Guix, Ludovic Courtès, 2017/01/04
- Re: [PATCH] Creating a docker image with Guix, Ricardo Wurmus, 2017/01/05
- Re: [PATCH] Creating a docker image with Guix, Thompson, David, 2017/01/05
- Re: [PATCH] Creating a docker image with Guix, Ludovic Courtès, 2017/01/05
- [PATCH] guix archive: '-f docker' supports package names as arguments., Ludovic Courtès, 2017/01/06
- Re: [PATCH] guix archive: '-f docker' supports package names as arguments., Ricardo Wurmus, 2017/01/07
- Re: [PATCH] guix archive: '-f docker' supports package names as arguments., Ludovic Courtès, 2017/01/08
Re: Creating a docker image with Guix, Christopher Allan Webber, 2017/01/02
Re: Creating a docker image with Guix, Jan Nieuwenhuizen, 2017/01/03
- Re: Creating a docker image with Guix,
Ludovic Courtès <=