mirror of
https://github.com/containers/podman.git
synced 2025-05-23 10:07:33 +08:00
build: use the configured runtime
Now buildah honors the runtime configured with podman. Closes: https://github.com/giuseppe/crun/issues/69 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -288,9 +288,8 @@ func (r *LocalRuntime) Build(ctx context.Context, c *cliconfig.BuildValues, opti
|
|||||||
options.CommonBuildOpts = commonOpts
|
options.CommonBuildOpts = commonOpts
|
||||||
options.SystemContext = systemContext
|
options.SystemContext = systemContext
|
||||||
|
|
||||||
if c.Flag("runtime").Changed {
|
|
||||||
options.Runtime = r.GetOCIRuntimePath()
|
options.Runtime = r.GetOCIRuntimePath()
|
||||||
}
|
|
||||||
if c.Quiet {
|
if c.Quiet {
|
||||||
options.ReportWriter = ioutil.Discard
|
options.ReportWriter = ioutil.Discard
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user