Created
March 31, 2014 10:54
-
-
Save barkerja/9889811 to your computer and use it in GitHub Desktop.
Dockerfile for ElasticSearch with a few plugins
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 dockerfile/java | |
RUN wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.1.0.tar.gz | |
RUN tar xzf elasticsearch-1.1.0.tar.gz | |
RUN mv elasticsearch-1.1.0 /opt/elasticsearch | |
RUN rm elasticsearch-1.1.0.tar.gz | |
RUN /opt/elasticsearch/bin/plugin -install mobz/elasticsearch-head | |
RUN /opt/elasticsearch/bin/plugin -install elasticsearch/elasticsearch-cloud-aws/2.1.0 | |
RUN /opt/elasticsearch/bin/plugin -install karmi/elasticsearch-paramedic | |
# Expose ports. | |
# - 9200: HTTP | |
# - 9300: transport | |
EXPOSE 9200 | |
EXPOSE 9300 | |
# Define an entry point. | |
ENTRYPOINT ["/opt/elasticsearch/bin/elasticsearch"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment