summaryrefslogtreecommitdiffstats
path: root/extra/docker/elasticsearch/Dockerfile
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-05-20 17:05:36 -0700
committerBryan Newbold <bnewbold@archive.org>2020-05-20 17:05:36 -0700
commit73cde66c9ab0bcae733097e53f1b6c4f00a8ea86 (patch)
treea5eee186e55b127082a500a2566a2f0ea0b3a712 /extra/docker/elasticsearch/Dockerfile
parent2c39d0418cfc66d291acfce88fa70846ff866b68 (diff)
downloadfatcat-scholar-73cde66c9ab0bcae733097e53f1b6c4f00a8ea86.tar.gz
fatcat-scholar-73cde66c9ab0bcae733097e53f1b6c4f00a8ea86.zip
working docker-compose with elasticsearch (with plugins)
Diffstat (limited to 'extra/docker/elasticsearch/Dockerfile')
-rw-r--r--extra/docker/elasticsearch/Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/docker/elasticsearch/Dockerfile b/extra/docker/elasticsearch/Dockerfile
new file mode 100644
index 0000000..13d641a
--- /dev/null
+++ b/extra/docker/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