summaryrefslogtreecommitdiff
path: root/vendor/github.com/projectatomic/buildah/run.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-06-04 18:05:04 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-06-05 14:38:11 +0000
commit20cae6b502de7b41bb9a630f9ad8e15698e65437 (patch)
treec3591e5b8aea1089c8c2da9c6b485d994f50cd68 /vendor/github.com/projectatomic/buildah/run.go
parent14cf6d219eaff206be715197523578ef1f7ce878 (diff)
downloadpodman-20cae6b502de7b41bb9a630f9ad8e15698e65437.tar.gz
podman-20cae6b502de7b41bb9a630f9ad8e15698e65437.tar.bz2
podman-20cae6b502de7b41bb9a630f9ad8e15698e65437.zip
Vendor in latest buildah code
This fix the issues when you are trying to build from a non existant image or the registries in registries.conf do not include the registry. ./bin/podman build -t dan -f Dockerfile.suse ~ STEP 1: FROM opensuse:tumbleweed error creating build container: image "opensuse:tumbleweed" not found in /etc/containers/registries.conf registries: image not known Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> v# Closes: #897 Approved by: mheon
Diffstat (limited to 'vendor/github.com/projectatomic/buildah/run.go')
-rw-r--r--vendor/github.com/projectatomic/buildah/run.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/projectatomic/buildah/run.go b/vendor/github.com/projectatomic/buildah/run.go
index 6c85d735b..51dd5107c 100644
--- a/vendor/github.com/projectatomic/buildah/run.go
+++ b/vendor/github.com/projectatomic/buildah/run.go
@@ -705,7 +705,7 @@ func setupNamespaces(g *generate.Generator, namespaceOptions NamespaceOptions, i
// Run runs the specified command in the container's root filesystem.
func (b *Builder) Run(command []string, options RunOptions) error {
var user specs.User
- p, err := ioutil.TempDir(os.TempDir(), Package)
+ p, err := ioutil.TempDir("", Package)
if err != nil {
return err
}