toolbx-images/images

Should we update and regularly rebuild the images or not?

Closed this issue ยท 16 comments

Right now, the Containerfiles do not update the packages in the image.

We have two options:

  • Keep the Containerfiles as is (users will update them on first run anyway) and remove all weekly rebuilds as they won't change the image.
  • Update the Containerfiles to make sure that they update the packages and trigger rebuilds every two weeks (weekly seems to much).

Note: This discussion apply to Arch Linux too but we need to keep it updated monthly at miminum.

I'd perfer weekly rebuilds for Arch as we are dealing with work containers.

Any particular reason for weekly rebuilds? Do you re-create one every week? Then if that's the case do you re-install all your tools there every time? Then I'd say that maybe you're better served by having your own container build from another repo on top of this one. I have mine in https://github.com/travier/quay-containerfiles/tree/main/toolbox for example that builds on top of the Fedora one.

I would say that the target for those images is people that create an image and update it over time instead of re-creating it all the time.

Packages update fast in Arch. If you create a new container at the tailend of the month then a lot of those packages are going to be old. It's better to use toolbox create and know the container isn't super outdated.

OK, let's do weekly rebuilt. I hope we'll have enough built minutes.

The same reasoning for periodical rebuilds can also apply to Fedora Rawhide.

Agree that Rawhide should be rebuilt regularly. Is this not the case right now?

Note that most of the images here do not update the packages. I'm looking at that in #20.

Looks like I read https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions incorrectly and actions minutes are free and unlimited for public projects. I will turn builds on in PRs.

Agree that Rawhide should be rebuilt regularly. Is this not the case right now?

All Fedora Toolbx images are being rebuilt regularly. I mainly mentioned it to support the need for Arch Linux images to be rebuilt regularly.

I think Ubuntu images should be rebuilt bi-weekly but at least once a month.

Then they need some work like I did in 52a51d5 for the CentOS ones as right now they don't update at all.

Well, they do get updated but only if the base image is updated.

#41 should close this one.

See discussion in #41, we'll not update Debian & Ubuntu images.
Maybe we revisit the discussion here and not update all images by default.

Agree that Rawhide should be rebuilt regularly. Is this not the case right now?

All Fedora Toolbx images are being rebuilt regularly. I mainly mentioned it to support the need for Arch Linux images to be rebuilt regularly.

Just to be clear ...

These days, since the Fedora 39 development cycle, the fedora-toolbox image for Rawhide gets built as part of the nightly composes. Earlier, they were being manually rebuilt every few weeks, just like the images for the stable Fedora releases.

Currently, the built-in arch-toolbox and ubuntu-toolbox images, maintained as part of Toolbx, are rebuilt every Monday.

Let's close this one as I don't think there is anything more to do.