Merge pull request #3785 from giuseppe/podman-build-use-configured-runtime

build: use the configured runtime
This commit is contained in:
OpenShift Merge Robot
2019-08-12 01:55:59 +02:00
committed by GitHub

View File

@ -288,9 +288,8 @@ func (r *LocalRuntime) Build(ctx context.Context, c *cliconfig.BuildValues, opti
options.CommonBuildOpts = commonOpts
options.SystemContext = systemContext
if c.Flag("runtime").Changed {
options.Runtime = r.GetOCIRuntimePath()
}
if c.Quiet {
options.ReportWriter = ioutil.Discard
}