Last active
August 29, 2015 14:00
-
-
Save jcheype/11306729 to your computer and use it in GitHub Desktop.
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 base | |
run apt-get update | |
run apt-get install -y curl | |
run cd /opt && curl -s -L -b oraclelicense=accept-securebackup-cookie http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz | tar xvz | |
run cd /opt && ln -s jdk1.7.0_51 jdk7 | |
env JAVA_HOME /opt/jdk7 | |
env PATH $PATH:/opt/jdk7/bin | |
run cd /opt && curl -s -L https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.1.1.tar.gz | tar xvz | |
run cd /opt && ln -s elasticsearch-1.1.1 elasticsearch | |
run cd /opt/elasticsearch && ./bin/plugin -i elasticsearch/marvel/latest | |
expose 9200 | |
expose 9300 | |
cmd cd /opt/elasticsearch/ && ./bin/elasticsearch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment