You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by ka...@apache.org on 2018/07/17 21:18:54 UTC

[incubator-heron] branch master updated: Fix supervisor installation in Centos 7 Dockerfile (#2966)

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

karthikz 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 c53b043  Fix supervisor installation in Centos 7 Dockerfile (#2966)
c53b043 is described below

commit c53b043ab92e61ae5f0b5f954e27fd70c2a1c8c7
Author: Thomas Shields <th...@gatech.edu>
AuthorDate: Tue Jul 17 17:18:51 2018 -0400

    Fix supervisor installation in Centos 7 Dockerfile (#2966)
---
 docker/dist/Dockerfile.dist.centos7 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docker/dist/Dockerfile.dist.centos7 b/docker/dist/Dockerfile.dist.centos7
index 4e1b7d5..57f4ca3 100644
--- a/docker/dist/Dockerfile.dist.centos7
+++ b/docker/dist/Dockerfile.dist.centos7
@@ -5,7 +5,9 @@ RUN yum -y install python; yum clean all
 RUN yum -y install unzip; yum clean all
 RUN yum -y install which; yum clean all
 RUN yum -y install curl; yum clean all
-RUN apt-get -y install supervisor; apt-get clean all
+RUN yum -y install python-setuptools; yum clean all
+RUN easy_install supervisor
+RUN echo_supervisord_conf > /etc/supervisord.conf
 
 RUN yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel; yum clean all