]> git.proxmox.com Git - mirror_qemu.git/commit
docker.py: fix fetching of FROM layers
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 13 Jul 2020 20:04:07 +0000 (21:04 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 15 Jul 2020 10:52:43 +0000 (11:52 +0100)
commitf73e485285bc2da944a08e1dd20a30df93e23f25
tree29096385aa5b45113898b6eb0903d6ee4e9d9553
parenta77312e77c7d19702aa4e2ddefd20cae060a7fb9
docker.py: fix fetching of FROM layers

This worked on a system that was already bootstrapped because the
stage 2 images already existed even if they wouldn't be used. What we
should have pulled down was the FROM line containers first because
building on gitlab doesn't have the advantage of using our build
system to build the pre-requisite bits.

We still pull the image we want to build just in case we can use the
cached data.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200713200415.26214-4-alex.bennee@linaro.org>
tests/docker/docker.py