diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-07-28 13:28:39 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-07-28 14:51:21 -0400 |
commit | a35045cbc4a6c22ab95bd203b134ce0e30f344e2 (patch) | |
tree | be9468c6514a9c6379c35462cdc4c7812459f8a2 /test/utils/podmantest_test.go | |
parent | 288ebec6e737c105fa0ef43412de4e0a8997feb9 (diff) | |
download | podman-a35045cbc4a6c22ab95bd203b134ce0e30f344e2.tar.gz podman-a35045cbc4a6c22ab95bd203b134ce0e30f344e2.tar.bz2 podman-a35045cbc4a6c22ab95bd203b134ce0e30f344e2.zip |
Fix building from http or '-' options
When copying from a URL, podman will download and create a context
directory in a temporary file. The problem was that this directory
was being removed as soon as the function that created it was returned.
Later the build code would look for content in the temporary directory
and fail to find it, blowing up the build.
By pulling the extraction code back into the build function, we keep the
temporary directory around until the build completes.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/utils/podmantest_test.go')
0 files changed, 0 insertions, 0 deletions