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

Don't inherit labels from base image #1881

Open
ralphbean opened this issue Jan 30, 2025 · 0 comments
Open

Don't inherit labels from base image #1881

ralphbean opened this issue Jan 30, 2025 · 0 comments

Comments

@ralphbean
Copy link
Member

If you build with our buildah task, all the labels of your parent image are inherited to the child. This is almost never what you want - you don't want your child image to be labelled as if it was "ubi9".

There's an option to the buildah command to prevent this that might help --unsetlabel.

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

No branches or pull requests

1 participant