Closed ahills closed 4 months ago
The podman & buildah tools support files named Containerfile in addition to Dockerfile, and the syntax is the same:
podman
buildah
Containerfile
Dockerfile
A Containerfile uses the same syntax as a Dockerfile internally.
https://docs.podman.io/en/latest/markdown/podman-build.1.html
According to the maintainers, the intent is to keep it the same:
The content, commands, and any features that are usable in a Dockerfile should also be usable in a Containerfile too. That's the design goal.
https://github.com/containers/buildah/discussions/3170
This patch simply extends the filename globs to include the alternative filenames & extensions.
Thank you for your contribution @ahills ❤️ LGTM 🚀
The
podman
&buildah
tools support files namedContainerfile
in addition toDockerfile
, and the syntax is the same:https://docs.podman.io/en/latest/markdown/podman-build.1.html
According to the maintainers, the intent is to keep it the same:
https://github.com/containers/buildah/discussions/3170
This patch simply extends the filename globs to include the alternative filenames & extensions.