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

Use Containerfile as default if none provided #1804

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

Conversation

git-hyagi
Copy link
Contributor

When a build_context is provided without a containerfile_name, this commit will verify if a file called Containerfile exists in the provided file repository (build_context) and use it in the build task.

[noissue]

When a build_context is provided without a containerfile_name,
this commit will verify if a file called Containerfile exists in the
provided file repository (build_context) and use it in the build task.

[noissue]
@ipanova
Copy link
Member

ipanova commented Nov 4, 2024

Quick suggestion is to also look for Dockerfile, these two should be interchangeable. Podman will prefer Containerfile over Dockerfile if both are present in the context dir.

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

Successfully merging this pull request may close these issues.

2 participants