From 915364034f1ddf036d277830d45c54b8eb39f940 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Wed, 23 May 2018 14:15:54 -0400 Subject: Update podman build to match buildah bud functionality Add --label, --annotations, --idfile, --squash Signed-off-by: Daniel J Walsh Closes: #824 Approved by: TomSweeneyRedHat --- cmd/podman/build.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmd/podman') 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") { -- cgit v1.2.3-54-g00ecf