From 2f1ff4fc6e4a0d7af2b16027c3beeb8c04c83ac1 Mon Sep 17 00:00:00 2001 From: Anthony Malkoun Date: Mon, 24 May 2021 15:40:49 +1000 Subject: [PATCH] Update elastic image to 7 --- .docker/Dockerfile.elasticsearch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .docker/Dockerfile.elasticsearch diff --git a/.docker/Dockerfile.elasticsearch b/.docker/Dockerfile.elasticsearch new file mode 100644 index 0000000..836beb6 --- /dev/null +++ b/.docker/Dockerfile.elasticsearch @@ -0,0 +1,14 @@ +FROM amazeeio/elasticsearch:7-latest +ARG ES_TPL + +ENV ES_TPL=${ES_TPL:-elasticsearch.yml} + +RUN bin/elasticsearch-plugin install analysis-kuromoji \ + && bin/elasticsearch-plugin install analysis-icu + +COPY .docker/elasticsearch.yml .docker/elasticsearch.* /tmp/elasticsearch/ + +RUN mkdir -p config \ + && cp /tmp/elasticsearch/$ES_TPL config/elasticsearch.yml + +ENV ES_JAVA_OPTS "-Xms1000m -Xmx1000m"