mirror of
https://github.com/containers/podman.git
synced 2025-09-27 00:34:32 +08:00
Set --force-rm for podman build to true by default
Since we use buildah containers for the build process, the user will not know if we have any buildah containers lingering due to a failed build. Setting this to true by default till we figure out a better way to solve this. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
This commit is contained in:
3
vendor/github.com/containers/buildah/delete.go
generated
vendored
3
vendor/github.com/containers/buildah/delete.go
generated
vendored
@ -1,7 +1,6 @@
|
||||
package buildah
|
||||
|
||||
import (
|
||||
"github.com/opencontainers/selinux/go-selinux/label"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
@ -14,5 +13,5 @@ func (b *Builder) Delete() error {
|
||||
b.MountPoint = ""
|
||||
b.Container = ""
|
||||
b.ContainerID = ""
|
||||
return label.ReleaseLabel(b.ProcessLabel)
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user