eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jay...@apache.org
Subject eagle git commit: using openjdk for docker
Date Thu, 29 Jun 2017 21:59:06 GMT
Repository: eagle
Updated Branches:
  refs/heads/master 783257bd1 -> 8c738eada


using openjdk for docker

using openjdk for docker image instead of oracle jdk

Author: Jay <jhsonline@gmail.com>

Closes #961 from jhsenjaliya/EAGLE-1057.

(cherry picked from commit ea28bccec3552c20bce40fb6584c9e0848898059)
Signed-off-by: Jay <jhsonline@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/eagle/repo
Commit: http://git-wip-us.apache.org/repos/asf/eagle/commit/8c738ead
Tree: http://git-wip-us.apache.org/repos/asf/eagle/tree/8c738ead
Diff: http://git-wip-us.apache.org/repos/asf/eagle/diff/8c738ead

Branch: refs/heads/master
Commit: 8c738eadad5aa020a8d93206b131cfa8d9114d0d
Parents: 783257b
Author: Jay <jhsonline@gmail.com>
Authored: Thu Jun 29 14:58:53 2017 -0700
Committer: Jay <jhsonline@gmail.com>
Committed: Thu Jun 29 14:59:03 2017 -0700

----------------------------------------------------------------------
 eagle-external/eagle-docker/Dockerfile | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/eagle/blob/8c738ead/eagle-external/eagle-docker/Dockerfile
----------------------------------------------------------------------
diff --git a/eagle-external/eagle-docker/Dockerfile b/eagle-external/eagle-docker/Dockerfile
index de06bbc..386950b 100644
--- a/eagle-external/eagle-docker/Dockerfile
+++ b/eagle-external/eagle-docker/Dockerfile
@@ -19,12 +19,9 @@ MAINTAINER dev@eagle.apache.org
 
 # Eagle environment
 ENV EAGLE_HOME=/usr/hdp/current/eagle
-ENV JDK_VERSION 8u121
-ENV JDK_BUILD_VERSION b13
-# for local development
-#ADD resource/jdk-8u121-linux-x64.rpm /tmp/
-#RUN rpm -i /tmp/jdk-8u121-linux-x64.rpm
-RUN curl -LO "http://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jdk-8u121-linux-x64.rpm"
-H 'Cookie: oraclelicense=accept-securebackup-cookie' && rpm -i jdk-$JDK_VERSION-linux-x64.rpm;
+RUN yum install -y java-1.8.0-openjdk
+RUN mkdir -p /usr/java
+RUN ln -s /usr/lib/jvm/jre-1.8.0-openjdk.x86_64 /usr/java/default
 ENV JAVA_HOME /usr/java/default
 
 # Install Eagle Package


Mime
View raw message