Permalink
Browse files

Set JAVA_HOME.

  • Loading branch information...
1 parent b05c002 commit 6a6188b422eff99727b96dbb346f271c0c2e58db Barnaby Gray committed Feb 12, 2014
Showing with 2 additions and 1 deletion.
  1. +1 −1 elasticsearch/Dockerfile
  2. +1 −0 openjdk-7-jre/Dockerfile
View
@@ -2,7 +2,7 @@
# docker pull barnybug/elasticsearch
#
# VERSION 0.0.1
-FROM barnybug/openjdk-java7
+FROM barnybug/openjdk-7-jre
MAINTAINER Barnaby Gray <barnaby@pickle.me.uk>
# install wget
View
@@ -10,4 +10,5 @@ RUN apt-get update
RUN apt-get install -y openjdk-7-jre-headless && apt-get clean
# just for testing
+ENV JAVA_HOME /usr/lib/jvm/java-7-openjdk-amd64
CMD java -version

0 comments on commit 6a6188b

Please sign in to comment.