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:15:22 -0800
commitd9a2c7e368917a4130ce507daad412e1815d5586 (patch)
treeccca5647587cb5dad4d0d6cfc18bee46a4eada7f /extra/elasticsearch/Dockerfile
parentfb0b7a13435adb33c30cb5aaed388a77c44f52cf (diff)
downloadfatcat-d9a2c7e368917a4130ce507daad412e1815d5586.tar.gz
fatcat-d9a2c7e368917a4130ce507daad412e1815d5586.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