Skip to content
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

For easier updates, can you provide tags like: major.minor #213

Open
williamdes opened this issue Feb 14, 2023 · 12 comments
Open

For easier updates, can you provide tags like: major.minor #213

williamdes opened this issue Feb 14, 2023 · 12 comments
Labels
area: docker This is related to Docker and its deployment type: feature Request to add new functionality

Comments

@williamdes
Copy link
Contributor

And on each patch major.minor is updated

This also makes it possible for automatic updates using watchtower for example

@jbergstroem
Copy link
Owner

Just to clarify: aside from latest and 10.6.12, you are looking for 10.6? If yes, I like it.

@jbergstroem jbergstroem added type: feature Request to add new functionality area: docker This is related to Docker and its deployment labels Feb 14, 2023
@williamdes
Copy link
Contributor Author

yes exactly, to have a latest but for a version range

@jbergstroem
Copy link
Owner

One thing to consider here is that Alpine doesn't maintain multiple versions of packages very long which means that leaning on 10.6 after the new LTS is chosen would likely make you go out of date unless there are serious critical security bumps. Also, renovatebot wouldn't track all versions of MariaDB in Alpine. I could consider adding git branches for minors and only bump for security updates which would likely happen once Alpine chooses the new LTS.

@williamdes
Copy link
Contributor Author

do you mean that you only install the alpine MariaDB server package?
and everything will depend on alpine upstream?

@jbergstroem
Copy link
Owner

jbergstroem commented Feb 16, 2023

do you mean that you only install the alpine MariaDB server package?
and everything will depend on alpine upstream?

This is how the container works at the moment, yes! It's not necessarily a Bad Thing; most containers relies on distributions for dependency mangement. It just makes it harder to maintain multiple release lines.

That said, MariaDB doesn't encourage using non-LTS releases outside of their lifecycle which means that there won't be multiple supported release lines.

You can get an overview of all releases here: https://mariadb.com/kb/en/mariadb-server-release-dates/

MariaDB 10.11 will become LTS which means that 10.6 and 10.11 should overlap and likely exist in parallel for Alpine Linux release lines. Debian and most other linux distributions will do the same.

Some years ago I considered maintaining a custom build suite – the work is still in a branch – but its a lot of work to maintain a smooth cmake build experience across multiple versions. I could consider revisiting it at some point..

@williamdes
Copy link
Contributor Author

yeah I understand all this, some companies can not upgrade because they are too afraid or such things
but I can upgrade, I was wondering why this repository was still on 10.6
can you provide newer versions?

@jbergstroem
Copy link
Owner

jbergstroem commented Feb 16, 2023

can you provide newer versions?

10.6 is the currrent LTS version which means its the one that is packaged in Alpine. As 10.11 becomes LTS, it will find its way here.

If I would undertake the mission of building myself, the repo probably would change significantly since its no tied to Alpine. At that stage it would likely be renamed and shaped into a new org with containers focused on size as the first goal (similar to this but without restrictions based on distribution).

@williamdes
Copy link
Contributor Author

okay, so I think you could provide a lts docker tag so installations always track the lts version?

@williamdes
Copy link
Contributor Author

by the way I do a bunch of containers at @sudo-bot so maybe you would want to join if you intend to do such a container
We have the the sponsored OSS level of docker registry: https://hub.docker.com/r/botsudo/capistrano

@jbergstroem
Copy link
Owner

jbergstroem commented Feb 16, 2023

okay, so I think you could provide a lts docker tag so installations always track the lts version?

This is what the latest flag would provide at the moment. I think the best option – as you suggested – will be adding a minor series (10.6). The problem with a "LTS" tag is that the LTS tags are overlapping (both 10.6 and 10.11 would have it). I could do what we set up with Node.js where lts would switch as part of a new LTS being promoted. Need to think about that.

My suggestion is – for now – to stick with latest which is 100% guaranteed to work and track latest LTS. As 10.6 lands (probs this weekend), feel free to switch.

@williamdes
Copy link
Contributor Author

thanks for 10.6
the thing is by using latest you really do not know what version it will be if you don't update your config for one or two years
but now I know latest is lts ^^

@jbergstroem
Copy link
Owner

jbergstroem commented Feb 16, 2023

the thing is by using latest you really do not know what version it will be if you don't update your config for one or two years

Across Docker Hub I agree; there is no standardized/agreed upon best practice for latest. I personally stay off latest, so I guess I'm not dogfooding here :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docker This is related to Docker and its deployment type: feature Request to add new functionality
Projects
None yet
Development

No branches or pull requests

2 participants