Public Repository

Last pushed: 7 months ago
Short Description
Elasticsearch 2.1.1 with Russian Morphological Analysis Plugin
Full Description

FROM elasticsearch:5.2.2

RUN sudo sysctl -w vm.max_map_count=262144 && \
    cd /usr/share/elasticsearch && \
    bin/elasticsearch-plugin install http://dl.bintray.com/content/imotov/elasticsearch-plugins/org/elasticsearch/elasticsearch-analysis-morphology/5.2.2/elasticsearch-analysis-morphology-5.2.2.zip

EXPOSE 9200 9300
CMD ["elasticsearch"]

5.3.0

# Elasticsearch with plugin https://github.com/imotov/elasticsearch-analysis-morphology
# docker build -t akhalyapin/elasticsearch_ru:5.3.0 .

FROM docker.elastic.co/elasticsearch/elasticsearch:5.3.0
RUN \
    cd /usr/share/elasticsearch && \
    bin/elasticsearch-plugin install http://dl.bintray.com/content/imotov/elasticsearch-plugins/org/elasticsearch/elasticsearch-analysis-morphology/5.3.0/elasticsearch-analysis-morphology-5.3.0.zip
RUN \
    echo "xpack.security.enabled: false"    >> /usr/share/elasticsearch/config/elasticsearch.yml && \
    echo "xpack.graph.enabled: false"     >> /usr/share/elasticsearch/config/elasticsearch.yml && \
    echo "xpack.watcher.enabled: false"    >> /usr/share/elasticsearch/config/elasticsearch.yml

#WTF: https://www.elastic.co/guide/en/x-pack/current/reporting-settings.html#general-reporting-settings
#BUT: org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [xpack.reporting.enabled] did you mean any of [xpack.monitoring.enabled, xpack.security.enabled]?
#  echo "xpack.reporting.enabled: false" >> /usr/share/elasticsearch/config/elasticsearch.yml

EXPOSE 9200 9300
CMD ["elasticsearch"]
Docker Pull Command
Owner
akhalyapin

Comments (0)