summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2020-06-01 16:03:35 -0400
committerOlivier Dugeon <olivier.dugeon@orange.com>2020-06-03 19:27:15 +0200
commitec91e8a9ee1c5936a2a21fa2a20d8f0d7717ffe5 (patch)
tree3a7a7b9ac68a8e31c72c665a0193880c5d2a6f2a
parent30712725a0625487cea9b8d82a05a908b41b810b (diff)
docker: fix centos7 install
We require python3-sphinx for RPM builds, but it wasn't being installed. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
-rw-r--r--docker/centos-7/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/centos-7/Dockerfile b/docker/centos-7/Dockerfile
index a8564bdd87..cca8baa147 100644
--- a/docker/centos-7/Dockerfile
+++ b/docker/centos-7/Dockerfile
@@ -1,10 +1,10 @@
# This stage builds an rpm from the source
FROM centos:centos7 as centos-7-builder
-
+RUN yum install -y epel-release
RUN yum install -y rpm-build autoconf automake libtool make \
readline-devel texinfo net-snmp-devel groff pkgconfig \
json-c-devel pam-devel bison flex pytest c-ares-devel \
- python-devel systemd-devel python-sphinx libcap-devel \
+ python3-devel python3-sphinx systemd-devel libcap-devel \
https://ci1.netdef.org/artifact/LIBYANG-YANGRELEASE/shared/build-10/CentOS-7-x86_64-Packages/libyang-0.16.111-0.x86_64.rpm \
https://ci1.netdef.org/artifact/LIBYANG-YANGRELEASE/shared/build-10/CentOS-7-x86_64-Packages/libyang-devel-0.16.111-0.x86_64.rpm \
https://ci1.netdef.org/artifact/RPKI-RTRLIB/shared/build-110/CentOS-7-x86_64-Packages/librtr-0.7.0-1.el7.centos.x86_64.rpm \