Skip to content

Commit

Permalink
elasticsearch-1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Barnaby Gray committed Feb 25, 2014
1 parent 6a6188b commit ecbd5cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions elasticsearch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ MAINTAINER Barnaby Gray <barnaby@pickle.me.uk>
RUN apt-get install -y wget && apt-get clean

# download and unpack elasticsearch
RUN wget -q https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.0.tar.gz -O - | tar zxvf -
RUN wget -q https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.tar.gz -O - | tar zxvf -
# create directories with access rights for 'nobody'
RUN mkdir -m 777 elasticsearch-1.0.0/logs elasticsearch-1.0.0/data
RUN mkdir -m 777 elasticsearch-1.0.1/logs elasticsearch-1.0.1/data

USER nobody
EXPOSE 9200 9300
CMD ["elasticsearch-1.0.0/bin/elasticsearch"]
CMD ["elasticsearch-1.0.1/bin/elasticsearch"]

0 comments on commit ecbd5cd

Please sign in to comment.