Skip to content

Commit

Permalink
Fix podman-remote build --rm=false ...
Browse files Browse the repository at this point in the history
Fixes: containers#9869

Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed May 10, 2021
1 parent 9e0aa47 commit 6299861
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/bindings/images/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6299861

Please sign in to comment.