tools/toCOPY/yum.repos.d/centos.repo
Davlet Panech 78263e8784 Dockerfile: pin centos & epel repo versions
Avoid different outcomes every time we run "docker build":

- Use centos 7.8 base image
- Use fixed versions of CentOS & EPEL repos
- Pin mock & its dependencies to 1.4.16
- Don't install unnecessary packages
- Don't install unnecessary/conflicting repo files

Change-Id: Ic9a52f373809ed66a0e61675f4d6276fd62e6fa0
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
2020-06-19 15:19:14 -04:00

17 lines
342 B
Plaintext

# centos_7_8_url must be defined in /etc/yum/vars/
[centos-os]
name=centos-os
baseurl=$centos_7_8_url/os/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[centos-extras]
name=centos-extras
baseurl=$centos_7_8_url/extras/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7