From d9a2c7e368917a4130ce507daad412e1815d5586 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 7 Nov 2018 11:13:08 -0800 Subject: updated docker for elastic (with plugin) Still need to install the maps (aka, schemas) manually. --- extra/elasticsearch/Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 extra/elasticsearch/Dockerfile (limited to 'extra/elasticsearch/Dockerfile') diff --git a/extra/elasticsearch/Dockerfile b/extra/elasticsearch/Dockerfile new file mode 100644 index 00000000..13d641a4 --- /dev/null +++ b/extra/elasticsearch/Dockerfile @@ -0,0 +1,9 @@ +FROM docker.elastic.co/elasticsearch/elasticsearch:6.4.2 + +RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install --batch analysis-icu + +# This part doesn't work because elastic isn't actually running at this point +# in boot. Don't know enough Docker to figure out how to make this work at +# build time. +#COPY --chown=elasticsearch:elasticsearch release_schema.json /release_schema.json +#RUN curl http://127.0.0.1:9200/fatcat --upload-file /release_schema.json -- cgit v1.2.3