summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-24 10:00:53 +0200
committerGitHub <noreply@github.com>2020-04-24 10:00:53 +0200
commitd1be20fa5b1835d81e01c4aaed8a2f219e1dc3cd (patch)
tree114702f294d0c3c8d79c2bb1dbbdc9d00eaa4a97
parent802763c6042e1c9a812f4300c3c717630564c8bc (diff)
parent26081e79c100e96c7d4ee3e9af241f7ce81b4565 (diff)
downloadpodman-d1be20fa5b1835d81e01c4aaed8a2f219e1dc3cd.tar.gz
podman-d1be20fa5b1835d81e01c4aaed8a2f219e1dc3cd.tar.bz2
podman-d1be20fa5b1835d81e01c4aaed8a2f219e1dc3cd.zip
Merge pull request #5963 from akerl-unpriv/fix/tmpdir-for-pull
set bigfilestemporarydir for pull
-rw-r--r--libpod/image/docker_registry_options.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpod/image/docker_registry_options.go b/libpod/image/docker_registry_options.go
index 62a4af465..01b5558af 100644
--- a/libpod/image/docker_registry_options.go
+++ b/libpod/image/docker_registry_options.go
@@ -3,9 +3,9 @@ package image
import (
"fmt"
+ "github.com/containers/buildah/pkg/parse"
"github.com/containers/image/v5/docker/reference"
"github.com/containers/image/v5/types"
-
podmanVersion "github.com/containers/libpod/version"
)
@@ -41,6 +41,7 @@ func (o DockerRegistryOptions) GetSystemContext(parent *types.SystemContext, add
DockerArchiveAdditionalTags: additionalDockerArchiveTags,
OSChoice: o.OSChoice,
ArchitectureChoice: o.ArchitectureChoice,
+ BigFilesTemporaryDir: parse.GetTempDir(),
}
if parent != nil {
sc.SignaturePolicyPath = parent.SignaturePolicyPath