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

nicknezis pushed a commit to branch bugfix/centos-dist-image
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git

commit f29e2802187c1a1d71c01a9c507e68cefe724abb
Author: Nicholas Nezis <[email protected]>
AuthorDate: Mon Sep 14 15:21:55 2020 +0000

    Adding missing ENV variables for Centos7 image
    
    LC_ALL is needed by Python3
    JAVA_HOME is needed for Java topologies
---
 docker/dist/Dockerfile.dist.centos7 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docker/dist/Dockerfile.dist.centos7 
b/docker/dist/Dockerfile.dist.centos7
index 94a5baa..cf243c5 100644
--- a/docker/dist/Dockerfile.dist.centos7
+++ b/docker/dist/Dockerfile.dist.centos7
@@ -17,6 +17,8 @@
 
 FROM centos:centos7
 
+ENV LC_ALL en_US.utf8
+
 RUN yum -y install epel-release \
     && yum -y update \
     && yum -y install \
@@ -30,6 +32,8 @@ RUN yum -y install epel-release \
     which \
     && yum clean all
 
+ENV JAVA_HOME /usr/
+
 ADD artifacts /heron
 
 WORKDIR /heron

Reply via email to