[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 03/25] tests/docker: use project specific container regist
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2 03/25] tests/docker: use project specific container registries |
Date: |
Thu, 14 Jan 2021 14:21:07 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
On 1/14/21 2:02 PM, Daniel P. Berrangé wrote:
> Since Docker Hub has started to enforce pull rate limits on clients, it
> is preferrable to use project specific container registries where they
> are available. Fedora and OpenSUSE projects provide registries.
>
> The images in these registries are also refreshed on a more regular
> basis than the ones in docker hub, so the package update should
> generally be faster.
>
> While CentOS also has a registry it is considerably outdated compared
> to docker.io, and also only provides x86 images, while docker.io images
> are multi-arch.
Following is duplicated:
> tests/docker: use project specific container registries
>
> Since Docker Hub has started to enforce pull rate limits on clients, it
> is preferrable to use project specific container registries where they
> are available. Fedora and OpenSUSE projects provide registries.
>
> The images in these registries are also refreshed on a more regular
> basis than the ones in docker hub, so the package update should
> generally be faster.
>
> While CentOS also has a registry it is considerably outdated compared
> to docker.io, and also only provides x86 images, while docker.io images
> are multi-arch.
Otherwise:
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
> tests/docker/dockerfiles/fedora-cris-cross.docker | 2 +-
> tests/docker/dockerfiles/fedora-i386-cross.docker | 2 +-
> tests/docker/dockerfiles/fedora-win32-cross.docker | 2 +-
> tests/docker/dockerfiles/fedora-win64-cross.docker | 2 +-
> tests/docker/dockerfiles/fedora.docker | 2 +-
> tests/docker/dockerfiles/opensuse-leap.docker | 2 +-
> 6 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/tests/docker/dockerfiles/fedora-cris-cross.docker
> b/tests/docker/dockerfiles/fedora-cris-cross.docker
> index 09e7e449f9..b7f02d18d3 100644
> --- a/tests/docker/dockerfiles/fedora-cris-cross.docker
> +++ b/tests/docker/dockerfiles/fedora-cris-cross.docker
> @@ -2,7 +2,7 @@
> # Cross compiler for cris system tests
> #
>
> -FROM fedora:30
> +FROM registry.fedoraproject.org/fedora:30
> ENV PACKAGES gcc-cris-linux-gnu
> RUN dnf install -y $PACKAGES
> RUN rpm -q $PACKAGES | sort > /packages.txt
> diff --git a/tests/docker/dockerfiles/fedora-i386-cross.docker
> b/tests/docker/dockerfiles/fedora-i386-cross.docker
> index a6e411291b..c1fd3ea37b 100644
> --- a/tests/docker/dockerfiles/fedora-i386-cross.docker
> +++ b/tests/docker/dockerfiles/fedora-i386-cross.docker
> @@ -1,4 +1,4 @@
> -FROM fedora:31
> +FROM registry.fedoraproject.org/fedora:31
> ENV PACKAGES \
> bzip2 \
> diffutils \
> diff --git a/tests/docker/dockerfiles/fedora-win32-cross.docker
> b/tests/docker/dockerfiles/fedora-win32-cross.docker
> index 087df598a0..8dc4f0d4c9 100644
> --- a/tests/docker/dockerfiles/fedora-win32-cross.docker
> +++ b/tests/docker/dockerfiles/fedora-win32-cross.docker
> @@ -1,4 +1,4 @@
> -FROM fedora:32
> +FROM registry.fedoraproject.org/fedora:32
>
> # Please keep this list sorted alphabetically
> ENV PACKAGES \
> diff --git a/tests/docker/dockerfiles/fedora-win64-cross.docker
> b/tests/docker/dockerfiles/fedora-win64-cross.docker
> index d5d2f5f00d..c530e6ba36 100644
> --- a/tests/docker/dockerfiles/fedora-win64-cross.docker
> +++ b/tests/docker/dockerfiles/fedora-win64-cross.docker
> @@ -1,4 +1,4 @@
> -FROM fedora:32
> +FROM registry.fedoraproject.org/fedora:32
>
> # Please keep this list sorted alphabetically
> ENV PACKAGES \
> diff --git a/tests/docker/dockerfiles/fedora.docker
> b/tests/docker/dockerfiles/fedora.docker
> index 19e7a3d28a..0bc66f7293 100644
> --- a/tests/docker/dockerfiles/fedora.docker
> +++ b/tests/docker/dockerfiles/fedora.docker
> @@ -1,4 +1,4 @@
> -FROM fedora:32
> +FROM registry.fedoraproject.org/fedora:32
>
> # Please keep this list sorted alphabetically
> ENV PACKAGES \
> diff --git a/tests/docker/dockerfiles/opensuse-leap.docker
> b/tests/docker/dockerfiles/opensuse-leap.docker
> index 0e64893e4a..e7dc14bf99 100644
> --- a/tests/docker/dockerfiles/opensuse-leap.docker
> +++ b/tests/docker/dockerfiles/opensuse-leap.docker
> @@ -1,4 +1,4 @@
> -FROM opensuse/leap:15.2
> +FROM registry.opensuse.org/opensuse/leap:15.2
>
> # Please keep this list sorted alphabetically
> ENV PACKAGES \
>
- [PATCH v2 22/25] tests/docker: auto-generate ubuntu1804 with lcitool, (continued)
- [PATCH v2 22/25] tests/docker: auto-generate ubuntu1804 with lcitool, Daniel P . Berrangé, 2021/01/14
- [PATCH v2 23/25] tests/docker: auto-generate ubuntu2004 with lcitool, Daniel P . Berrangé, 2021/01/14
- [PATCH v2 24/25] tests/docker: auto-generate opensuse-leap with lcitool, Daniel P . Berrangé, 2021/01/14
- [PATCH v2 25/25] tests/docker: remove ubuntu container, Daniel P . Berrangé, 2021/01/14
- [PATCH v2 17/25] tests/docker: expand ubuntu2004 package list, Daniel P . Berrangé, 2021/01/14
- [PATCH v2 14/25] tests/docker: expand centos8 package list, Daniel P . Berrangé, 2021/01/14
- [PATCH v2 03/25] tests/docker: use project specific container registries, Daniel P . Berrangé, 2021/01/14
- Re: [PATCH v2 03/25] tests/docker: use project specific container registries,
Philippe Mathieu-Daudé <=
- [PATCH v2 20/25] tests/docker: auto-generate centos8 with lcitool, Daniel P . Berrangé, 2021/01/14