ansible-podman-collections icon indicating copy to clipboard operation
ansible-podman-collections copied to clipboard

podman_image: add parameter for Containerfile location

Open ygabuev opened this issue 2 years ago • 1 comments

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind feature

Description

There is a flag -f in podman build ... that specifies the location of the Containerfile to use. This is useful if the context is different from the location of the Containerfile. This flag is currently not supported by podman.podman_image module, the way I add this currently is via build.extra_args parameter.

What do you think about adding this as a first-class parameter? I could draft a PR for that, if needed.

ygabuev avatar Sep 15 '22 15:09 ygabuev

@ygabuev sure, go for it.

sshnaidm avatar Sep 21 '22 12:09 sshnaidm

@sshnaidm added a PR here

ygabuev avatar Oct 20 '22 16:10 ygabuev