fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

11K
active users

“Guix Container Images for GitLab CI/CD” by @jas:
blog.josefsson.org/2024/12/18/

Notice that ‘.gitlab-ci.yml’ first installs Guix on Debian, then runs ‘guix pack guix’ to produce a standalone Guix image, and finally runs builds in that image.
gitlab.com/debdistutils/guix/c

blog.josefsson.orgGuix Container Images for GitLab CI/CD – Simon Josefsson's blog

@civodul @jas
Is there any statistics on how much time/resources does it take to have Debian+Guix compared to Guix operating system?

@Mehrad @jas You mean to build the image? It’s hard to tell.

Mehrad :kde: :emacs: :rstats:

@civodul @jas
Yes, to have the image as pure Guix rather than Guix on top of Debian.

I'm by no means an expert in either case, but as the end user it sounds more cohesive to deal with one OS and package manager, than a mixture.

@Mehrad @civodul Building a Debian+Guix image takes around 25 minutes on a large GitLab runner node. Building the pure Guix image takes around 6 minutes, also on a large GitLab runner node. The Debian+Guix image is used to prepare the native Guix-only image. I have not yet tried to build another Guix-only image from the Guix-only image I have prepared, that is issue #1 and I think it is trivial. gitlab.com/debdistutils/guix/c

GitLabConsider building the images from a native Guix rather than Debian+Guix image (#1) · Issues · debdistutils / guix / container · GitLabImages are currently built using guix pack followed by podman load -i and a podman push, all running in a Debian image after a

@jas It might be slightly faster to upload directly with Skopeo instead of doing ‘podman load’ (which needs to extract each layer) + ‘podman push’.

@Mehrad

@civodul @Mehrad The `podman load` barely takes any time at all, but indeed I want to use skopeo or podman from a native Guix config. I'm getting errors though, ideas? Maybe just a mkdir... gitlab.com/debdistutils/guix/c

GitLabstage2 (#8714694003) · Jobs · debdistutils / guix / container · GitLabGitLab.com

@jas BTW, I like that idea of rebootstrapping Debian on top of Guix. I’m curious to see how it goes!

I guess one could start in ‘guix shell -CF …’, where the ellipsis is replaced by a suitable list of base packages.

@Mehrad