[es] Upgrade to 2.0.0

This commit is contained in:
Geoff Bourne 2015-10-29 19:58:28 -05:00
parent 5484f50659
commit b3a79d6b08
3 changed files with 13 additions and 3 deletions

View file

@ -2,9 +2,9 @@ FROM itzg/ubuntu-openjdk-7
MAINTAINER itzg
ENV ES_VERSION 1.7.3
ENV ES_VERSION 2.0.0
RUN wget -qO /tmp/es.tgz https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$ES_VERSION.tar.gz && \
RUN wget -qO /tmp/es.tgz https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/$ES_VERSION/elasticsearch-$ES_VERSION.tar.gz && \
cd /usr/share && \
tar xf /tmp/es.tgz && \
rm /tmp/es.tgz
@ -23,4 +23,6 @@ USER elasticsearch
EXPOSE 9200 9300
ENV OPTS=-Dnetwork.bind_host=_non_loopback_
CMD ["/start"]

View file

@ -82,6 +82,14 @@ The contents of the `/conf/env` file are standard shell
entries where `NAME` is one of the variables described below.
Configuration options not explicitly supported below can be specified via the `OPTS` environment variable. For
example, by default `OPTS` is set with
OPTS=-Dnetwork.bind_host=_non_loopback_
_NOTE: That option is a default since `bind_host` defaults to `localhost` as of 2.0, which isn't helpful for
port mapping out from the container_.
## Cluster Name
If joining a pre-existing cluster, then you may need to specify a cluster name

View file

@ -12,7 +12,7 @@ if [ ! -e /conf/logging.* ]; then
cp $ES_HOME/config/logging.yml /conf
fi
OPTS="-Des.path.conf=/conf \
OPTS="$OPTS -Des.path.conf=/conf \
-Des.path.data=/data \
-Des.path.logs=/data \
-Des.transport.tcp.port=9300 \