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 20:47:00 UTC

[incubator-heron] 01/01: Adding missing ENV variables for Centos 7 image

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

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

commit 6a0a75f763efbee89c3d57eb0f47b7764896a0cb
Author: Nicholas Nezis <ni...@gmail.com>
AuthorDate: Mon Sep 14 20:46:09 2020 +0000

    Adding missing ENV variables for Centos 7 image
---
 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