osbuilder: Use Fedora and CentOS registries

To avoid hitting quota limit on docker.io, this changes the Fedora
and CentOS dockerfiles to pull the image from the projects registries.

Fixes #1324

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
Wainer dos Santos Moschetta 2021-01-25 13:22:00 -05:00
parent 4de21e3d95
commit ba9fa49a53
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
From docker.io/fedora:latest
From registry.fedoraproject.org/fedora:latest
RUN [ -n "$http_proxy" ] && sed -i '$ a proxy='$http_proxy /etc/dnf/dnf.conf ; true

View File

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
From docker.io/centos:@OS_VERSION@
From registry.centos.org/centos:@OS_VERSION@
@SET_PROXY@

View File

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
From docker.io/fedora:@OS_VERSION@
From registry.fedoraproject.org/fedora:@OS_VERSION@
@SET_PROXY@