summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-05-10 10:44:39 -0400
committerGitHub <noreply@github.com>2021-05-10 10:44:39 -0400
commit446e5b300611ce576d5d3980fbf57fe3653b04a1 (patch)
tree027f2ed37c77d495dd6ce1f325020960e8ddb300
parent5a8b3cf835742b3ba3bdc79010737ae3e2c69ce3 (diff)
parent07164c119ad42b984ef5bab46e4507ac15003f71 (diff)
downloadpodman-446e5b300611ce576d5d3980fbf57fe3653b04a1.tar.gz
podman-446e5b300611ce576d5d3980fbf57fe3653b04a1.tar.bz2
podman-446e5b300611ce576d5d3980fbf57fe3653b04a1.zip
Merge pull request #10292 from rhatdan/buildah
Fix podman-remote build --rm=false ...
-rw-r--r--pkg/bindings/images/build.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/bindings/images/build.go b/pkg/bindings/images/build.go
index 6acfcc1c8..f5e7c0c98 100644
--- a/pkg/bindings/images/build.go
+++ b/pkg/bindings/images/build.go
@@ -127,6 +127,8 @@ func Build(ctx context.Context, containerFiles []string, options entities.BuildO
}
if options.RemoveIntermediateCtrs {
params.Set("rm", "1")
+ } else {
+ params.Set("rm", "0")
}
if len(options.From) > 0 {
params.Set("from", options.From)