dev: use CentOS/Fedora registries for containers
This commit is contained in:
parent
88feb6bd2a
commit
d9a49f7ba0
3 changed files with 5 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM centos:7
|
||||
FROM registry.centos.org/centos:7
|
||||
RUN \
|
||||
yum -y update && \
|
||||
yum install -y \
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue