Add missing functionality for podman build layers
Need to pick the values from the flags and send it to
buildah for build.
Closes:
Approved by: rhatdan
@@ -205,6 +205,10 @@ func buildCmd(c *cli.Context) error {
Squash: c.Bool("squash"),
Labels: c.StringSlice("label"),
Annotations: c.StringSlice("annotation"),
+ Layers: c.Bool("layers"),
+ NoCache: c.Bool("no-cache"),
+ RemoveIntermediateCtrs: c.BoolT("rm"),
+ ForceRmIntermediateCtrs: c.Bool("force-rm"),
}
if !c.Bool("quiet") {
