Skip to content

Commit

Permalink
Add dockerfile for a Elasticsearch 0.90.x container
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Sá Pereira committed Mar 3, 2016
0 parents commit 11f1245
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions elasticsearch-0.90.x/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM yaronr/openjdk-7-jre
MAINTAINER Jorge Sá Pereira "jorgesapereira@gmail.com"

ENV DEBIAN_FRONTEND noninteractive

RUN wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add -
RUN echo "deb http://packages.elasticsearch.org/elasticsearch/0.90/debian stable main" >>/etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y elasticsearch

EXPOSE 9200 9300
CMD ["/usr/share/elasticsearch/bin/elasticsearch","-f"]

0 comments on commit 11f1245

Please sign in to comment.