mirror of
https://github.com/containers/podman.git
synced 2025-06-21 01:19:15 +08:00
Merge pull request #10292 from rhatdan/buildah
Fix podman-remote build --rm=false ...
This commit is contained in:
@ -127,6 +127,8 @@ func Build(ctx context.Context, containerFiles []string, options entities.BuildO
|
|||||||
}
|
}
|
||||||
if options.RemoveIntermediateCtrs {
|
if options.RemoveIntermediateCtrs {
|
||||||
params.Set("rm", "1")
|
params.Set("rm", "1")
|
||||||
|
} else {
|
||||||
|
params.Set("rm", "0")
|
||||||
}
|
}
|
||||||
if len(options.From) > 0 {
|
if len(options.From) > 0 {
|
||||||
params.Set("from", options.From)
|
params.Set("from", options.From)
|
||||||
|
Reference in New Issue
Block a user