Hello!
Simon Josefsson via "Development of GNU Guix and the GNU System distribution."
<[email protected]> skribis:
> 1) Is there agreement that the Guix project should publish official
> container images at all? Any objections? Assuming we can decide on all
> the details, of course.
I would love to see that happen, it seems to be an oft-requested
feature.
> 2) I'm not that familiar with the Guix project build system, but I
> suppose the images should be built by centralized by it? Is this
> feasible? What would be involved in making that happen?
To be checked with the release team, but I would add it to
‘etc/teams/release/artifacts-manifest.scm’ so it’s built from ci.guix.
> 3) Agreement that images should be generated by 'guix pack -f docker'.
> Any alternative?
‘guix pack’ is fine.
> 4) Decide on the set of variants to support. As a strawman my images
> are built using:
>
> guix pack $GUIX_PACKS --save-provenance -S /bin=bin -S /share=share -f docker
> --image-tag=guix --max-layers=8 ${GUIX_PACK_EXTRA:-}
[...]
> GUIX_PACKS_LATEST: $GUIX_PACKS_SLIM git-minimal findutils diffutils
> gcc-toolchain make automake autoconf tar grep sed gawk m4 gzip xz
> bzip2 iproute2 inetutils libcap shadow wget lndir nss-certs
I’d do something like that.
> 5) Decide if images should have non-/bin/sh entrypoint like MetaCall
> Guix Containers which sets up guix-daemon.sh etc. Sometimes you would
> want this, I guess, and sometimes you wouldn't, I guess. Maybe there is
> some idiom (environment variables?) to use for deciding? There could be
> different container names for different setups.
For most cases I suppose you’d want guix-daemon to be up and running?
> 6) It would be useful to publish images for a recent 'master' commit but
> also for the Guix v1.5.0 release commit -- which ought to be forever
> bit-by-bit identical once prepared (or?) -- and for future releases.
I suppose we could start by setting it up on ci.guix and in the next
release it would become and official artifact?
> 7) How are they distributed? I suppose the images could be published on
> gnu.org/gnu/guix/ but the container-way is via some public container
> registry. Docker Hub is well-known, but there are many other. I'm not
> sure if Codeberg offers one. What are the concerns here?
If ci.guix is set up to build it, it will be downloadable there, but I
guess we should also upload it to some registry. No idea which one to
use though; these commercial things don’t look attractive to me. :-)
Thanks,
Ludo’.