Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Update elastic image to 7
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-malkoun authored and vincent-gao committed Sep 14, 2021
1 parent 98c9ad8 commit 2f1ff4f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .docker/Dockerfile.elasticsearch
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 2f1ff4f

Please sign in to comment.