summaryrefslogtreecommitdiff
path: root/vendor/github.com/projectatomic/buildah/commit.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-06-01 12:59:47 -0400
committerGitHub <noreply@github.com>2018-06-01 12:59:47 -0400
commit3c63a48bb8c1bdff688ce5b6c9c6e3079370e603 (patch)
treed098f85f80fb364e0d8b082ecd1f898cfde2c186 /vendor/github.com/projectatomic/buildah/commit.go
parent10d440a1c898aac84198c9c34d48d0cea9085f68 (diff)
parent29c831f9d6abf8d650bc7feb63a1e60876238504 (diff)
downloadpodman-3c63a48bb8c1bdff688ce5b6c9c6e3079370e603.tar.gz
podman-3c63a48bb8c1bdff688ce5b6c9c6e3079370e603.tar.bz2
podman-3c63a48bb8c1bdff688ce5b6c9c6e3079370e603.zip
Merge pull request #859 from rhatdan/onbuild
Add OnBuild support for podman build
Diffstat (limited to 'vendor/github.com/projectatomic/buildah/commit.go')
-rw-r--r--vendor/github.com/projectatomic/buildah/commit.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/github.com/projectatomic/buildah/commit.go b/vendor/github.com/projectatomic/buildah/commit.go
index 75d2626f5..ab46a0643 100644
--- a/vendor/github.com/projectatomic/buildah/commit.go
+++ b/vendor/github.com/projectatomic/buildah/commit.go
@@ -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.