Skip to content

Instantly share code, notes, and snippets.

@fgrehm
Created June 5, 2013 01:44
Show Gist options
  • Save fgrehm/5711067 to your computer and use it in GitHub Desktop.
Save fgrehm/5711067 to your computer and use it in GitHub Desktop.
ElasticSearch Dockerfile
# ElasticSearch 0.90.0
#
# VERSION 0.0.1
FROM fgrehm/openjdk7
MAINTAINER Fabio Rehm "fgrehm@gmail.com"
RUN apt-get install -y wget
RUN wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.0.deb -O /tmp/elasticsearch.deb -q
RUN dpkg -i /tmp/elasticsearch.deb
RUN rm /tmp/elasticsearch.deb
RUN apt-get remove -y wget
RUN apt-get clean
EXPOSE 9200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment