Merge pull request #169 from manojsb/patch-1

Upgrade to ES 5.5.0
This commit is contained in:
Geoff Bourne authored and GitHub committed 2017-07-13 08:53:42 -05:00
commit 5dd8141e5e
1 file changed
+5 -4
+5 -4
View File
@@ -4,12 +4,13 @@ LABEL maintainer "itzg"
RUN apk -U add bash RUN apk -U add bash
ENV ES_VERSION=5.4.3 ARG ES_VERSION=5.5.0
ADD https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-$ES_VERSION.tar.gz /tmp/es.tgz ADD https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-$ES_VERSION.tar.gz /tmp
# need to adapt to both Docker's new remote-unpack-ADD behavior and the old behavior
RUN cd /usr/share && \ RUN cd /usr/share && \
tar xf /tmp/es.tgz && \ if [ -f /tmp/elasticsearch-$ES_VERSION.tar.gz ]; then tar xf /tmp/es.tgz; else mv /tmp/elasticsearch-${ES_VERSION} /usr/share; fi && \
rm /tmp/es.tgz rm -f /tmp/elasticsearch-$ES_VERSION.tar.gz
EXPOSE 9200 9300 EXPOSE 9200 9300