Created
March 8, 2015 13:49
-
-
Save killermouse0/2cec825dfb63e56e53d2 to your computer and use it in GitHub Desktop.
Dockerfile to create an elasticsearch image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian | |
ADD jre-8u31-linux-x64.tar.gz /opt | |
ADD elasticsearch-1.4.4.tar.gz /opt | |
ENV JAVA_HOME /opt/jre1.8.0_31 | |
ENV PATH ${PATH}:${JAVA_HOME}/bin | |
EXPOSE 9200 | |
EXPOSE 9300 | |
ENTRYPOINT ["/opt/elasticsearch-1.4.4/bin/elasticsearch"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment