Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Commit

Permalink
Fixes crash in elasticsearch6 image for various reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Cole authored and adriancole committed Jun 25, 2018
1 parent 19af724 commit d2ab16a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions elasticsearch6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@ FROM openzipkin/jre-full:1.8.0_171
MAINTAINER OpenZipkin "http://zipkin.io/"

ENV ELASTICSEARCH_VERSION 6.3.0
# https://github.com/elastic/elasticsearch/pull/31003 was closed won't fix
ENV ES_TMPDIR /tmp

WORKDIR /elasticsearch

# single layer to install elasticsearch and the user
RUN curl -SL https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-$ELASTICSEARCH_VERSION.tar.gz| tar xz && \
mv elasticsearch-$ELASTICSEARCH_VERSION/* /elasticsearch/ && \
# disable ML as not supported on alpine per https://discuss.elastic.co/t/elasticsearch-failing-to-start-due-to-x-pack/85125/6
rm -rf /elasticsearch/modules/x-pack/x-pack-ml/platform/linux-x86_64 && \
adduser -S elasticsearch && \
chown -R elasticsearch /elasticsearch

Expand Down
1 change: 1 addition & 0 deletions elasticsearch6/config/elasticsearch.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
network.host: 0.0.0.0
discovery.zen.minimum_master_nodes: 1
xpack.ml.enabled: false

0 comments on commit d2ab16a

Please sign in to comment.