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

feat(Dockerfile): allow to override kairos-init via build arg #3189

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mudler
Copy link
Member

@mudler mudler commented Feb 12, 2025

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #


FROM quay.io/kairos/kairos-init:v0.2.3 AS kairos-init
FROM quay.io/kairos/kairos-init:${KAIROS_INIT} AS kairos-init
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's better if we allow overriding the whole image? E.g. if we build one locally and push it to ttl.sh or something.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this work for renovate? Do we really need to do this on our Dockerfile? Do we expect to run it locally with a different init?

Just wondering why this would be wanted instead of a straightforward dockerfile. Doing local stuff is adding 3 lines so its not like its a very complex thing to create your own locally

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rather indeed have the full address in kairos init var so renovate is able to bump it without having to start doing stupid regexes and custom managers again lol

Copy link
Member

@Itxaka Itxaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

renovate stanza probably needed so it bumps it properly automatically

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants