Simon Tournier <[email protected]> writes:

> Therefore, the question would become: Would these Docker images be
> published using DockerHub?

I don't see a reason why not.  I'm not sure the Guix project wants to
have a proper docker.com account, but individuals could set it up and
push the images?  Assuming they are reproducibly built, people have a
way of verifying them by comparing hashes.

> And if not, who plans to setup a Guix “official” registry for these
> Docker images?
>
> Or if not, how would these Docker images be published?
>
> FWIW: https://hub.docker.com/_/debian/

That is an "Docker Official Image" which I think is a somewhat different
category: one blessed by docker.com themselves.  I think it is too early
to aspire to that, I think we need some history publishing Guix
containers on docker.com under some other namespace before they are
likely to consider blessing the images.

>> 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?
>
> Well, from my understanding, the bottleneck is the storage and maybe
> when “guix gc” is running on the build farms.
>
> Somehow, a nightly build of Docker images might be a challenge.  On the
> other hand, the various set of packages are not changing every day
> neither. :-)

I'm happy to donate VM resources if needed, but I'm not familiar with
the setup so it will probably be easier to do on the ci.guix
infrastructure...  containers are typically <<1GB and the smaller
variants are ~300MB.  Is that a problem?

>> 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:-}
>
> On a side note, please consider:
>
>     https://hpc.guix.info/blog/2021/10/when-docker-images-become-fixed-point/
>
> However, last time I’ve checked, the manifest cannot used too complex
> transformations.  Well, it’s not an issue.

I think a manifest.scm is included in my images too, or is there
anything more required?

/Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to