Skip to content

Commit

Permalink
Set JAVA_HOME.
Browse files Browse the repository at this point in the history
  • Loading branch information
Barnaby Gray committed Feb 12, 2014
1 parent b05c002 commit 6a6188b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion elasticsearch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions openjdk-7-jre/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.