diff options
author | Daniel P. Berrangé | 2021-07-09 16:29:37 +0200 |
---|---|---|
committer | Alex Bennée | 2021-07-14 15:33:53 +0200 |
commit | 1ae2786c7c91aadbdc15d4106e951bc15b46b585 (patch) | |
tree | 04bc6acf51a128af46aa70735fef08d707285b91 /tests/docker/dockerfiles/ubuntu2004.docker | |
parent | tests/docker: use project specific container registries (diff) | |
download | qemu-1ae2786c7c91aadbdc15d4106e951bc15b46b585.tar.gz qemu-1ae2786c7c91aadbdc15d4106e951bc15b46b585.tar.xz qemu-1ae2786c7c91aadbdc15d4106e951bc15b46b585.zip |
tests/docker: use explicit docker.io registry
It is good practice to use an explicit registry for referencing the base
image. This is because some distros will inject their own registries
into the search path. For example registry.fedoraproject.org comes ahead
of docker.io. Using an explicit registry avoids wasting time querying
multiple registries for images that they won't have.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210623142245.307776-5-berrange@redhat.com>
Message-Id: <20210709143005.1554-13-alex.bennee@linaro.org>
Diffstat (limited to 'tests/docker/dockerfiles/ubuntu2004.docker')
-rw-r--r-- | tests/docker/dockerfiles/ubuntu2004.docker | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docker/dockerfiles/ubuntu2004.docker b/tests/docker/dockerfiles/ubuntu2004.docker index b33ed139d9..78755bc2e3 100644 --- a/tests/docker/dockerfiles/ubuntu2004.docker +++ b/tests/docker/dockerfiles/ubuntu2004.docker @@ -1,4 +1,4 @@ -FROM ubuntu:20.04 +FROM docker.io/library/ubuntu:20.04 ENV PACKAGES flex bison \ bsdmainutils \ ccache \ |