Re: Experiment in generating multi-layer Docker images with guix pack

2020-03-29 Thread Ludovic Courtès
Hi Chris, Christopher Baines skribis: [...] >> I think a layering algorithm like Graham Christensen’s above requires >> knowledge of the reference graph, meaning that layering can only be >> computed on the build side, using #:references-graphs. In that case, it >> could be that you can’t have

Re: Experiment in generating multi-layer Docker images with guix pack

2020-03-26 Thread Christopher Baines
Ludovic Courtès writes: > Christopher Baines skribis: > >> I think it could be useful to support multiple different strategies for >> generating layers for Docker images, with different trade-offs. This approach >> using two layers should make the resulting images more efficient to use in >> t

Re: Experiment in generating multi-layer Docker images with guix pack

2020-03-26 Thread Ludovic Courtès
Hello Chris, Christopher Baines skribis: > These patches are very rough, and not ready, but do at least work in some > limited capacity. I've been testing with the following commands: > > guix pack --format=docker guile@2.2.6 > guix pack --format=docker guile@2.2.7 > > With the previous Dock

Experiment in generating multi-layer Docker images with guix pack

2020-03-21 Thread Christopher Baines
These patches are very rough, and not ready, but do at least work in some limited capacity. I've been testing with the following commands: guix pack --format=docker guile@2.2.6 guix pack --format=docker guile@2.2.7 With the previous Docker image generation implementation, two different ~130MB