-
-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* `podman_image`: correct `path` parameter description The `path` parameter is the last parameter when running `podman build ...`. As specified in the manpage, it is defined as the build context, and not necessarily should it contain the Containerfile. Signed-off-by: Yuriy Gabuev <[email protected]> * `podman_image`: add `file` parameter for Containerfile location Add the `file` parameter to `podman_image` module which mirrors the `--file` command line argument for `podman build ...`. This parameter specifies the location of the Containerfile to use in case it should be different from the one contained in the build context directory. Signed-off-by: Yuriy Gabuev <[email protected]> * `podman_image`: add integration tests for `file` parameter Add tests to ensure that: - building from a directory without a Containerfile (or Dockerfile) fails - specifying the location of Containerfile with `file` parameter works Signed-off-by: Yuriy Gabuev <[email protected]> Signed-off-by: Yuriy Gabuev <[email protected]>
- Loading branch information
Showing
2 changed files
with
44 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters