mirror of
https://github.com/containers/podman.git
synced 2025-11-28 17:18:58 +08:00
Quadlet build - add support for IgnoreFile key
Resolves: https://github.com/containers/podman/issues/27268 Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
This commit is contained in:
@@ -1724,6 +1724,7 @@ Valid options for `[Build]` are listed below:
|
||||
| ForceRM=false | --force-rm=false |
|
||||
| GlobalArgs=--log-level=debug | --log-level=debug |
|
||||
| GroupAdd=keep-groups | --group-add=keep-groups |
|
||||
| IgnoreFile=/path/to/.customignore | --ignorefile=/path/to/.customignore |
|
||||
| ImageTag=localhost/imagename | --tag=localhost/imagename |
|
||||
| Label=label | --label=label |
|
||||
| Network=host | --network=host |
|
||||
@@ -1831,6 +1832,13 @@ Assign additional groups to the primary user running within the container proces
|
||||
|
||||
This is equivalent to the `--group-add` option of `podman build`.
|
||||
|
||||
### `IgnoreFile=`
|
||||
|
||||
Path to an alternate .containerignore file to use when building the image.
|
||||
Note that when using a relative path you should also set `SetWorkingDirectory=`
|
||||
|
||||
This is equivalent to the `--ignorefile` option of `podman build`.
|
||||
|
||||
### `ImageTag=`
|
||||
|
||||
Specifies the name which is assigned to the resulting image if the build process completes
|
||||
|
||||
Reference in New Issue
Block a user