You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by jo...@apache.org on 2020/05/10 01:17:55 UTC

[incubator-heron] branch master updated: Fix centos7 docker build (#3523)

This is an automated email from the ASF dual-hosted git repository.

joshfischer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git


The following commit(s) were added to refs/heads/master by this push:
     new e065171  Fix centos7 docker build (#3523)
e065171 is described below

commit e0651719f39e9af1313057749df0553198baf2aa
Author: Ning Wang <nw...@twitter.com>
AuthorDate: Sat May 9 18:17:44 2020 -0700

    Fix centos7 docker build (#3523)
---
 docker/dist/Dockerfile.dist.centos7 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/docker/dist/Dockerfile.dist.centos7 b/docker/dist/Dockerfile.dist.centos7
index d548ff5..686a8fb 100644
--- a/docker/dist/Dockerfile.dist.centos7
+++ b/docker/dist/Dockerfile.dist.centos7
@@ -24,8 +24,10 @@ RUN yum -y install which; yum clean all
 RUN yum -y install curl; yum clean all
 RUN yum -y install nmap-ncat; yum clean all
 RUN yum -y install python python3-setuptools; yum clean all
-RUN easy_install supervisor
-RUN echo_supervisord_conf > /etc/supervisord.conf
+
+RUN yum install epel-release; yum clean all
+RUN yum update -y
+RUN yum install -y supervisor; yum clean all
 
 RUN yum -y install java-11-openjdk java-11-openjdk-devel; yum clean all