aboutsummaryrefslogtreecommitdiff
path: root/tests/docker/dockerfiles/ubuntu1804.docker
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2021-07-09 15:29:37 +0100
committerAlex Bennée <alex.bennee@linaro.org>2021-07-14 14:33:53 +0100
commit1ae2786c7c91aadbdc15d4106e951bc15b46b585 (patch)
tree04bc6acf51a128af46aa70735fef08d707285b91 /tests/docker/dockerfiles/ubuntu1804.docker
parent102cd5c294dcb251c814fff65e3024fac503f680 (diff)
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/ubuntu1804.docker')
-rw-r--r--tests/docker/dockerfiles/ubuntu1804.docker2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docker/dockerfiles/ubuntu1804.docker b/tests/docker/dockerfiles/ubuntu1804.docker
index 86114be23a..adcdef8244 100644
--- a/tests/docker/dockerfiles/ubuntu1804.docker
+++ b/tests/docker/dockerfiles/ubuntu1804.docker
@@ -1,4 +1,4 @@
-FROM ubuntu:18.04
+FROM docker.io/library/ubuntu:18.04
ENV PACKAGES \
ccache \
clang \