You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by ni...@apache.org on 2020/09/14 15:23:59 UTC
[incubator-heron] 01/01: Adding missing ENV variables for Centos7
image
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 <na...@evoforge.org>
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