From patchwork Wed Jul 14 15:00:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 476789 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp672856jao; Wed, 14 Jul 2021 08:26:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbVTKMZMO1RQ0SUoQ0zv8Wj5lMpyKx6fluRghKzHEqHGBodnpwU59Ew0SvvU9SAJGIFso+ X-Received: by 2002:a17:906:3616:: with SMTP id q22mr6726902ejb.276.1626276400829; Wed, 14 Jul 2021 08:26:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626276400; cv=none; d=google.com; s=arc-20160816; b=0vJex7IeBOfxRQIVh8WCyhHSeblgJ0Ta39+2BdOTgPdgX9P4+YR3hX9FGfqTEYHCbK l4T3uWm0hXVgZIsFqFYwdDKL1O7AyE7M21xjVLT5AN6J4pWlr2ZDVEvsyqkJ2Hg83HIH hjmiojl0h8IfZhrTVU/Sc4ZQ24RNFWxytso9ageY4hMMLSnjOl91zbs4nD9iYG5t7Inr ES/wwBbY3ON+dfQtlf0fmv1sQ8Gve4PnZE8Ev0RqnxnTX7RmtehZXGTnEQwFs0WuBFAv GAFgX3IHTprZCxZri89rvbUppgXjsVTiqJUHvwHhchm7L4Vux0/DUY9BZa9xGUHkH/0I qrQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=QGsJyJN7LttFhIAfv8indlVD2zWT1TMrW1Pu0xBSDjk=; b=WxfOLdRUNYDKUOYMlzGvmGMLB0qmwoXIUE0RFD6G1nRY8dhNTyS5CvESHEXdSkuf/9 pyt1SG9MFDZc1zmRe549NfoZtdZuPZy8wr/sJiRkUx6k57ucVwBJLe9q+W1XYuBt05Tc 9UyALciB3yGoSZOzU6eTkUKxLej0Gkm2intakNo3cvCqONGL1xjS+YbczftZZz3rfMTV 6kqf73ZvJsvCdGe3LaLtmZyu7sptJGQD7SYL04Ifw1EmJEAoNgNP+bS3adxp5vCJmb/9 vuVmx+NrCO31k4CIOog2oIECcE4l+cQ5Z9Du44VKgb/uQsQbzvu5uTaH0Gzwfhb6X2bc fTOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JCvksF7h; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h6si3052456edw.479.2021.07.14.08.26.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Jul 2021 08:26:40 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JCvksF7h; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:45864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3gmV-0005dJ-KQ for patch@linaro.org; Wed, 14 Jul 2021 11:26:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3gea-0005HH-Se for qemu-devel@nongnu.org; Wed, 14 Jul 2021 11:18:28 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:45645) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3geX-0002Ow-Bb for qemu-devel@nongnu.org; Wed, 14 Jul 2021 11:18:28 -0400 Received: by mail-wr1-x430.google.com with SMTP id t5so3654447wrw.12 for ; Wed, 14 Jul 2021 08:18:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QGsJyJN7LttFhIAfv8indlVD2zWT1TMrW1Pu0xBSDjk=; b=JCvksF7h1F0ZsbuYhcvZt4kJOJgXa1p1hsH2gGYemhjDLs/Ug9ahJnPTuhvmYaBFKS C1Wmcdetw8dGRKsGaWtp6ZjSL0JFa9pYSQ52zHPk/l/NmQhAaH1NQwiJfBpjGRwznVqI zcslpgLP36gUR3X3KVuUuhje+ZLTgA0EEXeHj/EPdddRGbw8sYy3cLrPzaeksoCNCVi7 4WFGvbVjJPQSTwjFzwmU6Cz9MZ2gYaayScoOJ6RPWdtnjWJHp5kUUiY8SuGk/7IPf0y0 8ygPd7cEdTlvVJp9evx01EREksh4HbAMnMTcXoG1T93Nwf5UEV+nTAVfwsEERN0rC5HA ShJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QGsJyJN7LttFhIAfv8indlVD2zWT1TMrW1Pu0xBSDjk=; b=S/iHqYYwVrP0uXF2YTgx4UJQ3HjDC6hC54I9wH3VJy4p5BQt/+qk1rhQS/xpkrp+Gs BDvUaOX1EURl4ocnHv6dNps75HIb77P7SNLvntW4GMqrn/XnolVfPlKmIbY8xgXzsLts n8+7W8ywprdpaxQaeFisVyneMW3guY9Ol4hG8GkA7ot09mnbXtPqrajQdsgESXsReI4u qV9Iat0tWctrwTxL/mH1hE4SzzpRhtDD2SqepcEIYXCgM1VDNxz3P1d0810vkumZhEWH twtMfJau8ChO3Qd+5BYqIroWApRqUWvWu6VvVpIeT6LNr4MPmHWQhJsbKOJH//oitlAT QGhA== X-Gm-Message-State: AOAM531nT1C8J4k7WzjygZK20cQ6Y/GOKtfR4yVrF1fSN1mtXRs7knOp RrFCu7DfH+iLxP2gQLWvi0JLNA== X-Received: by 2002:a5d:6dac:: with SMTP id u12mr13580371wrs.153.1626275902087; Wed, 14 Jul 2021 08:18:22 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id r67sm5727904wma.6.2021.07.14.08.18.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jul 2021 08:18:14 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 27DD11FF9C; Wed, 14 Jul 2021 16:00:38 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL v5 13/44] tests/docker: use project specific container registries Date: Wed, 14 Jul 2021 16:00:05 +0100 Message-Id: <20210714150036.21060-14-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210714150036.21060-1-alex.bennee@linaro.org> References: <20210714150036.21060-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?utf-8?q?Philippe?= =?utf-8?q?_Mathieu-Daud=C3=A9?= , Willian Rampazzo , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Daniel P. Berrangé 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. Signed-off-by: Daniel P. Berrangé Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Wainer dos Santos Moschetta Reviewed-by: Willian Rampazzo Reviewed-by: Alex Bennée Message-Id: <20210623142245.307776-4-berrange@redhat.com> Message-Id: <20210709143005.1554-12-alex.bennee@linaro.org> -- 2.20.1 diff --git a/tests/docker/dockerfiles/fedora-cris-cross.docker b/tests/docker/dockerfiles/fedora-cris-cross.docker index 1dfff6e0b9..91c373fdd3 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:33 +FROM registry.fedoraproject.org/fedora:33 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 8004fd8ee5..dbb8195eb1 100644 --- a/tests/docker/dockerfiles/fedora-i386-cross.docker +++ b/tests/docker/dockerfiles/fedora-i386-cross.docker @@ -1,4 +1,4 @@ -FROM fedora:33 +FROM registry.fedoraproject.org/fedora:33 ENV PACKAGES \ bzip2 \ ccache \ diff --git a/tests/docker/dockerfiles/fedora-win32-cross.docker b/tests/docker/dockerfiles/fedora-win32-cross.docker index a638afb525..9fed35f4e1 100644 --- a/tests/docker/dockerfiles/fedora-win32-cross.docker +++ b/tests/docker/dockerfiles/fedora-win32-cross.docker @@ -1,4 +1,4 @@ -FROM fedora:33 +FROM registry.fedoraproject.org/fedora:33 # 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 f53007ac86..fb641f6104 100644 --- a/tests/docker/dockerfiles/fedora-win64-cross.docker +++ b/tests/docker/dockerfiles/fedora-win64-cross.docker @@ -1,4 +1,4 @@ -FROM fedora:33 +FROM registry.fedoraproject.org/fedora:33 # Please keep this list sorted alphabetically ENV PACKAGES \ diff --git a/tests/docker/dockerfiles/fedora.docker b/tests/docker/dockerfiles/fedora.docker index 9dde3f6a78..a506e68d33 100644 --- a/tests/docker/dockerfiles/fedora.docker +++ b/tests/docker/dockerfiles/fedora.docker @@ -1,4 +1,4 @@ -FROM fedora:33 +FROM registry.fedoraproject.org/fedora:33 # 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 f7e1cbfbe6..7ebff1b3a8 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 \