Add centos-extras repo to oraclelinux-base
magnum requires python-docker-py which is missing in the oraclelinux base repos. TrivialFix Change-Id: I466a170a8df8f207c47d06ba5a6cba9b7efa3e5f
This commit is contained in:
parent
241913cc8f
commit
2967f250d7
@ -77,6 +77,7 @@ RUN yum install -y \
|
|||||||
|
|
||||||
{% if base_distro == 'oraclelinux' %}
|
{% if base_distro == 'oraclelinux' %}
|
||||||
|
|
||||||
|
COPY oraclelinux-extras.repo /etc/yum.repos.d/oraclelinux-extras.repo
|
||||||
RUN yum install -y \
|
RUN yum install -y \
|
||||||
yum-utils \
|
yum-utils \
|
||||||
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
|
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
|
||||||
|
6
docker/base/oraclelinux-extras.repo
Normal file
6
docker/base/oraclelinux-extras.repo
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[extras]
|
||||||
|
name=CentOS-$releasever - Extras
|
||||||
|
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=$basearch&repo=extras&infra=$infra
|
||||||
|
#baseurl=http://mirror.centos.org/centos/7/extras/$basearch/
|
||||||
|
gpgcheck=1
|
||||||
|
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7
|
Loading…
Reference in New Issue
Block a user