Simon Tournier <zimon.touto...@gmail.com> writes:

>> Does your built images contains several layers?
>
> This had recently been introduced.
>
>         0cf75c9b2f23869201144917cea7f6ad49683d3d
>         AuthorDate: Tue Dec 26 03:54:12 2023 +0300
>         CommitDate: Mon Jan 8 21:04:44 2024 +0300

Thanks.

>> nix2container uses an heuristic to group store paths into layers. The
>> goal is to share common layers between images and to avoid full image
>> rebuild when only a storepath differs.
>
> Well, I have not followed on which strategy Guix relies.  What is the
> one of nix2container?  The one described here:
>
>     https://grahamc.com/blog/nix-and-layered-docker-images/

Yes.
But I think it could be improved by taking the nar size into account.

lewo.

Reply via email to