diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-05-10 08:52:50 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2021-05-10 09:16:52 -0400 |
commit | 07164c119ad42b984ef5bab46e4507ac15003f71 (patch) | |
tree | bd97edb42bf876e5f32fa71abe780c090c89fa67 /pkg | |
parent | 9e0aa474a97b59c8540b5c9316fe98220d713d06 (diff) | |
download | podman-07164c119ad42b984ef5bab46e4507ac15003f71.tar.gz podman-07164c119ad42b984ef5bab46e4507ac15003f71.tar.bz2 podman-07164c119ad42b984ef5bab46e4507ac15003f71.zip |
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 <dwalsh@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/bindings/images/build.go | 2 |
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) |