File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments