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

Add 'PATH' variable to Containerfile template #1

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

Conversation

tinez
Copy link

@tinez tinez commented Jul 26, 2023

Fedora images hosted on registry.fedoraproject.org do not have a 'PATH' env variable defined on them. Their docker.io equivalents do. This causes subtle discrepancies when alternating between those two images (i.e. gcc failing to produce binaries when building a container image based on Fedora with kaniko). Let's add a 'PATH' variable to the template to deal with this inconsistency.

Fedora images hosted on registry.fedoraproject.org do not have a 'PATH'
env variable defined on them. Their docker.io equivalents do. This
causes subtle discrepancies when alternating between those two images
(i.e. gcc failing to produce binaries when building a container image
based on Fedora with kaniko). Let's add a 'PATH' variable to the
template to deal with this inconsistency.

Signed-off-by: Marcin Sobczyk <[email protected]>
@tinez
Copy link
Author

tinez commented Jul 26, 2023

For more info see this bug

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.

1 participant