Last active
December 29, 2015 18:19
-
-
Save timusg/7709676 to your computer and use it in GitHub Desktop.
install elastic search and java 7 in centos
This file contains hidden or 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 centos | |
MAINTAINER timusg "http://timusg.com" | |
RUN yum -y install java-1.7.0-openjdk | |
RUN wget --no-check-certificate https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.2.tar.gz | |
RUN tar -xf elasticsearch-0.90.2.tar.gz | |
RUN rm elasticsearch-0.90.2.tar.gz | |
EXPOSE :9300 | |
EXPOSE :9200 | |
CMD elasticsearch-0.90.2/bin/elasticsearch -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment