dev: use CentOS/Fedora registries for containers

This commit is contained in:
Tomas Kopecek 2021-06-09 11:23:57 +02:00
parent 88feb6bd2a
commit d9a49f7ba0
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 \