mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-13 01:36:22 +00:00
17 lines
400 B
Docker
17 lines
400 B
Docker
FROM elasticsearch:5.6-alpine
|
|
|
|
# log4j2
|
|
RUN echo "-Dlog4j2.formatMsgNoLookups=true" >> /usr/share/elasticsearch/config/jvm.options
|
|
|
|
ADD config/ /usr/share/elasticsearch/config/
|
|
|
|
USER root
|
|
|
|
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu
|
|
|
|
RUN chown elasticsearch:elasticsearch config/elasticsearch.yml
|
|
|
|
USER elasticsearch
|
|
|
|
CMD ["/usr/share/elasticsearch/bin/elasticsearch"]
|