Skip to content

Commit 32ff222

Browse files
committed
elasticsearch 5.5
1 parent 4dc06d3 commit 32ff222

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

elasticsearch/5.5/Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM docker.elastic.co/elasticsearch/elasticsearch:5.5.2
2+
3+
USER root
4+
5+
ENV JQ_VERSION 1.5
6+
ENV JQ_SHA256 c6b3a7d7d3e7b70c6f51b706a3b90bd01833846c54d32ca32f0027f00226ff6d
7+
RUN cd /tmp \
8+
&& curl -o /usr/bin/jq -SL "https://github.com/stedolan/jq/releases/download/jq-$JQ_VERSION/jq-linux64" \
9+
&& echo "$JQ_SHA256 /usr/bin/jq" | sha256sum -c - \
10+
&& chmod +x /usr/bin/jq
11+
12+
# https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#_c_customized_image
13+
ADD elasticsearch.yml /usr/share/elasticsearch/config/
14+
RUN chown elasticsearch:elasticsearch config/elasticsearch.yml
15+
16+
USER elasticsearch
17+
18+
RUN bin/elasticsearch-plugin install io.fabric8:elasticsearch-cloud-kubernetes:5.5.2
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
network.host: 0.0.0.0
2+
3+
processors: ${PROCESSORS:}
4+
5+
# minimum_master_nodes need to be explicitly set when bound on a public IP
6+
# set to 1 to allow single node clusters
7+
# Details: https://github.com/elastic/elasticsearch/pull/17288
8+
discovery.zen.minimum_master_nodes: 1

0 commit comments

Comments
 (0)