Add OnBuild support for podman build

Only supported for docker formated images. OCI Does not support this flag.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh
2018-05-31 12:38:41 -04:00
parent ff3b46e769
commit 29c831f9d6
11 changed files with 49 additions and 9 deletions

View File

@ -52,6 +52,9 @@ type CommitOptions struct {
// Squash tells the builder to produce an image with a single layer
// instead of with possibly more than one layer.
Squash bool
// OnBuild is a list of commands to be run by images based on this image
OnBuild []string
}
// PushOptions can be used to alter how an image is copied somewhere.