mirror of
https://github.com/containers/podman.git
synced 2025-12-02 19:28:58 +08:00
Use buildah commit and bud in podman
Vendor in buildah and use as much of commit and bug as possible for podman build and commit. Resolves #586 Signed-off-by: baude <bbaude@redhat.com> Closes: #681 Approved by: mheon
This commit is contained in:
11
vendor/github.com/projectatomic/buildah/unmount.go
generated
vendored
Normal file
11
vendor/github.com/projectatomic/buildah/unmount.go
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
package buildah
|
||||
|
||||
// Unmount unmounts a build container.
|
||||
func (b *Builder) Unmount() error {
|
||||
err := b.store.Unmount(b.ContainerID)
|
||||
if err == nil {
|
||||
b.MountPoint = ""
|
||||
err = b.Save()
|
||||
}
|
||||
return err
|
||||
}
|
||||
Reference in New Issue
Block a user