summaryrefslogtreecommitdiff
path: root/pkg/api/handlers
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-07-28 13:28:39 -0400
committerValentin Rothberg <rothberg@redhat.com>2020-07-31 13:01:45 +0200
commit8c6a5286934ebd0144b839223e9dd9a53e4f994a (patch)
treec253c825d957238a96c4e9bbf2cf41ae5255ffa0 /pkg/api/handlers
parent6d7e50891490682b86ab3f4a71cb6e8a7530c8b6 (diff)
downloadpodman-8c6a5286934ebd0144b839223e9dd9a53e4f994a.tar.gz
podman-8c6a5286934ebd0144b839223e9dd9a53e4f994a.tar.bz2
podman-8c6a5286934ebd0144b839223e9dd9a53e4f994a.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 'pkg/api/handlers')
0 files changed, 0 insertions, 0 deletions