summaryrefslogtreecommitdiffstats
path: root/extra/elasticsearch/Dockerfile
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-11-07 11:13:08 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-11-07 11:13:12 -0800
commit97468e7de2cae4de666f2443ca5ae1f8753952c1 (patch)
tree42112d9cfb046e562fa68ae93f6312540056cefd /extra/elasticsearch/Dockerfile
parent53d91dbefeb598539b02d18fad33f79babe2bb94 (diff)
downloadfatcat-97468e7de2cae4de666f2443ca5ae1f8753952c1.tar.gz
fatcat-97468e7de2cae4de666f2443ca5ae1f8753952c1.zip
updated docker for elastic (with plugin)
Still need to install the maps (aka, schemas) manually.
Diffstat (limited to 'extra/elasticsearch/Dockerfile')
-rw-r--r--extra/elasticsearch/Dockerfile9
1 files changed, 9 insertions, 0 deletions
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