Public | Automated Build

Last pushed: 3 years ago
Dockerfile
# # Elasticsearch Dockerfile # # https://github.com/dockerfile/elasticsearch # # Pull base image. FROM dockerfile/java:oracle-java8 ENV ES_PKG_NAME elasticsearch-1.5.0 # Install Elasticsearch. RUN \ cd / && \ wget https://download.elasticsearch.org/elasticsearch/elasticsearch/$ES_PKG_NAME.tar.gz && \ tar xvzf $ES_PKG_NAME.tar.gz && \ rm -f $ES_PKG_NAME.tar.gz && \ mv /$ES_PKG_NAME /elasticsearch # Define mountable directories. VOLUME ["/data"] # Mount elasticsearch.yml config ADD config/elasticsearch.yml /elasticsearch/config/elasticsearch.yml # Define working directory. WORKDIR /data # Define default command. CMD ["/elasticsearch/bin/elasticsearch"] # Expose ports. # - 9200: HTTP # - 9300: transport EXPOSE 9200 EXPOSE 9300
Source Repository