PR#2903: dev: use CentOS/Fedora registries for containers

Merges #2903
https://pagure.io/koji/pull-request/2903
This commit is contained in:
Tomas Kopecek 2021-06-09 11:25:54 +02:00
commit ef39e057a9
3 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
FROM centos:7
FROM registry.centos.org/centos:7
RUN \
yum -y update && \
yum install -y \

View file

@ -1,9 +1,9 @@
FROM centos:8
FROM registry.centos.org/centos:8
RUN \
dnf -y update --nodocs --setopt=install_weak_deps=False && \
dnf install -y epel-release && \
dnf install -y \
dnf install -y --nodocs --setopt=install_weak_deps=False epel-release && \
dnf install -y --nodocs --setopt=install_weak_deps=False \
'dnf-command(download)' \
gcc \
git \

View file

@ -1,4 +1,4 @@
FROM fedora:rawhide
FROM registry.fedoraproject.org/fedora:rawhide
RUN \
dnf -y update --nodocs --setopt=install_weak_deps=False && \
dnf install -y --nodocs --setopt=install_weak_deps=False \