diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-05-23 14:15:54 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-05-23 22:38:17 +0000 |
commit | 915364034f1ddf036d277830d45c54b8eb39f940 (patch) | |
tree | 968ec9dfe5a69626a69aef545a5dd429ae695cb1 /cmd/podman/build.go | |
parent | d252fa710e55fde35824dfe1f01e03e783f04a18 (diff) | |
download | podman-915364034f1ddf036d277830d45c54b8eb39f940.tar.gz podman-915364034f1ddf036d277830d45c54b8eb39f940.tar.bz2 podman-915364034f1ddf036d277830d45c54b8eb39f940.zip |
Update podman build to match buildah bud functionality
Add --label, --annotations, --idfile, --squash
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Closes: #824
Approved by: TomSweeneyRedHat
Diffstat (limited to 'cmd/podman/build.go')
-rw-r--r-- | cmd/podman/build.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/podman/build.go b/cmd/podman/build.go index 180b43cbc..9d5dabe9f 100644 --- a/cmd/podman/build.go +++ b/cmd/podman/build.go @@ -166,6 +166,10 @@ func buildCmd(c *cli.Context) error { SystemContext: systemContext, CommonBuildOpts: commonOpts, DefaultMountsFilePath: c.GlobalString("default-mounts-file"), + IIDFile: c.String("iidfile"), + Squash: c.Bool("squash"), + Labels: c.StringSlice("label"), + Annotations: c.StringSlice("annotation"), } if !c.Bool("quiet") { |