all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Guix Docker image inflation
@ 2020-05-27 19:41 Stephen Scheck
  2020-05-28 18:10 ` Leo Famulari
                   ` (2 more replies)
  0 siblings, 3 replies; 50+ messages in thread
From: Stephen Scheck @ 2020-05-27 19:41 UTC (permalink / raw)
  To: help-guix

Hello,

As an exercise, I set up daily Guix System Docker image builds using GitLab
and Docker Hub, here:
https://hub.docker.com/repository/registry-1.docker.io/singularsyntax/guix/tags?page=1

The build process works as follows: if an existing `latest` image does not
exist for a given branch (master, 1.1.0, etc.), then bootstrap an image by
running `guix system docker-image` inside an Alpine Linux Docker container
with a fresh Guix installation. Using this image as a seed, `guix pull` is
run for the desired branch, and the resulting image is committed to the
Docker repository. If a "latest" image does exist, it is used instead as
the base from which to run `guix pull`. Daily images are thus built
incrementally from the previous day's build. For anybody curious about the
process, the build script can be browsed here:
https://gitlab.com/singularsyntax-docker-hub/guix/-/blob/master/.gitlab-ci.yml

It works pretty well, except that I'm observing substantial image size
inflation day-over-day, starting at ~197 MB from the seed image, now up to
1.71 GB eleven days later despite running `guix gc --delete-generations`,
`guix gc --collect-garbage`, and `guix gc --optimize` after pulling prior
to committing each new image.

I'm wondering if there is some other Guix GC operation or option I'm
missing, or any other suggestions which could stop this unsustainable image
bloat from occurring. I really do doubt that the Guix System itself is
growing this quickly.

^ permalink raw reply	[flat|nested] 50+ messages in thread

end of thread, other threads:[~2020-06-08  7:44 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-27 19:41 Guix Docker image inflation Stephen Scheck
2020-05-28 18:10 ` Leo Famulari
2020-05-29 16:19   ` Stephen Scheck
2020-05-29 17:08     ` Leo Famulari
2020-05-29 17:56       ` Stephen Scheck
2020-05-29 18:02         ` Leo Famulari
2020-05-29 18:21           ` Marius Bakke
2020-05-29 18:37             ` Leo Famulari
2020-05-29 18:44               ` zimoun
2020-05-29 21:24                 ` Stephen Scheck
2020-05-29 18:29           ` Stephen Scheck
2020-05-29 19:09             ` bug#41607: Deleted store items are not actually deleted Leo Famulari
2020-05-31  4:56               ` Chris Marusich
2020-05-31  9:27                 ` zimoun
2020-06-04 11:58                 ` Ludovic Courtès
2020-06-04 18:50                   ` Chris Marusich
2020-06-05  9:32                     ` Christopher Marusich
2020-06-05  9:36                       ` zimoun
2020-06-05 16:05                       ` Stephen Scheck
2020-06-05 16:21                       ` Ludovic Courtès
2020-06-07  1:31                         ` Chris Marusich
2020-06-07 10:07                           ` zimoun
2020-06-08  7:43                             ` Chris Marusich
2020-05-29 17:12     ` Guix Docker image inflation zimoun
2020-05-29 17:36       ` Stephen Scheck
2020-05-29 18:08 ` zimoun
2020-05-29 18:47   ` Stephen Scheck
2020-05-29 20:02     ` zimoun
2020-05-29 21:04       ` Stephen Scheck
2020-05-29 21:54         ` zimoun
2020-05-29 22:11           ` Stephen Scheck
2020-05-29 23:36             ` bug#41607: Deleted store items are not actually deleted zimoun
2020-05-29 23:30 ` Guix Docker image inflation Chris Marusich
2020-05-29 23:55   ` zimoun
2020-05-30 17:13     ` Stephen Scheck
2020-05-31  9:37       ` zimoun
2020-05-31 18:30         ` Stephen Scheck
2020-05-31 18:51           ` zimoun
2020-05-31 19:43             ` Stephen Scheck
2020-05-31 23:27               ` zimoun
2020-05-31 21:04           ` Chris Marusich
2020-06-01  0:37             ` zimoun
2020-05-30 17:02   ` Stephen Scheck
2020-05-31  4:31     ` Chris Marusich
2020-05-31  9:08       ` zimoun
2020-05-31 17:50       ` Stephen Scheck
2020-05-31 18:33         ` zimoun
2020-05-31  8:24     ` zimoun
2020-05-31 10:50       ` Vincent Legoll
2020-05-31 17:58         ` zimoun

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.