-
Notifications
You must be signed in to change notification settings - Fork 973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate Centos 8 agent and server images to Centos Stream 8 #9966
Conversation
The regular Centos 8 is EOL in a couple of weeks. The only further updates will come via Centos stream. Rather than distinct naming the images, this makes the lowest effort change to migrate to the new base images published by the team. - Introduces support to pull from different registries by distro and version. Not sure if this will have an impact on caching, as Docker cannot mirror from `quay.io` OOTB. -
If @ketan has any opinion, that'd be useful too 🙏 |
@chadlwilson — I saw your comments on #9940. I don't have any particular concerns on it. Given that the image builds are all automated, it's straight forward to add it to the build and have images published — users will obviously need and want both :) It may be useful to share some recipes on how users could build their images, and we get out of the business of building images. But having several images does make it super simple for users to build their custom images on top of ours. I don't know what's the best path forward here :-( |
Thanks @ketan. They are automated, yes, however there is some cost in terms of build time, feedback loop, maintaining all the repos here and on Docker Hub etc. I suppose I am possibly sensitive as I'm feeling like a one-man-ish maintenance operation at the moment and seem to find new surprises + things to patch+upgrade+maintain every time I look 😉 Haven't even started trying to figure out how to remove deprecated APIs, or release patched-lib-versions of all the plugins yet :-) I do like that we build images for the same reasons as you; but my personal preference would be to
|
I feel like I haven't kept up with the changes in Centos enough to review this. Maybe @marques-work has a better sense of it. I do think it doesn't make sense for you to maintain all of these versions yourself. So, please prioritize making your life easier. If that is Centos Stream 8, then so be it. If people need a different one, they can manage it, and we can link to it, use it if needed. The fact that Rocky Linux has regularly built images gives me some pause, but my point above stands. |
Fair enough. I think the community were largely upset because
From Phil Dibowitz's article: |
For what it's worth; I migrated build.gocd.org's own Linux elastic agent containers to Centos Stream 8 in gocd-contrib/gocd-oss-cookbooks@f9a8256 and switched over on the build infrastructure. All seems good so far using it as the base for a custom agent image. |
In the absence of any strong opinions either way, I will merge this, since it seems it is better than building on what will be EOL base images in a few days. If we want to abandon Centos Stream, deprecate the centos distros entirely and create new Rocky images after, we can do that. |
The regular Centos 8 is EOL on 31 December 2021. The only further updates will come via Centos stream.
Rather than distinct naming the images, this makes the lowest effort change to migrate to the new Centos Stream base images published by the team.
quay.io
OOTB.The base image as built by Centos seems to be much bigger on Centos Stream (231 MB vs 422 MB uncompressed), but it doesn't seem to make a huge difference to the end image size after GoCD is layered on top.
Looking for comments on
yum update
-ing them ourselves during our builds - thankfully we do this already. By contrast there are official Docker library images for Rocky Linux.