From 07164c119ad42b984ef5bab46e4507ac15003f71 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Mon, 10 May 2021 08:52:50 -0400 Subject: Fix podman-remote build --rm=false ... Fixes: https://github.com/containers/podman/issues/9869 [NO TESTS NEEDED] Since the podman-remote buildah tests will test this, and this is clearly correct. Signed-off-by: Daniel J Walsh --- pkg/bindings/images/build.go | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3-54-g00ecf