mirror of
https://github.com/containers/podman.git
synced 2025-05-22 01:27:07 +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.SystemContext = systemContext
|
||||
|
||||
if c.Flag("runtime").Changed {
|
||||
options.Runtime = r.GetOCIRuntimePath()
|
||||
}
|
||||
|
||||
if c.Quiet {
|
||||
options.ReportWriter = ioutil.Discard
|
||||
}
|
||||
|
Reference in New Issue
Block a user