switched to elasticsearch 5.6.5 & ingest attachment plugin

This commit is contained in:
André Bauer 2017-12-22 10:42:42 +01:00
parent c648559334
commit c224217da4

View File

@ -1,4 +1,4 @@
FROM docker.elastic.co/elasticsearch/elasticsearch:5.5.3 FROM docker.elastic.co/elasticsearch/elasticsearch:5.6.5
MAINTAINER Zammad <info@zammad.org> MAINTAINER Zammad <info@zammad.org>
ARG BUILD_DATE ARG BUILD_DATE
@ -14,4 +14,4 @@ LABEL org.label-schema.build-date="$BUILD_DATE" \
org.label-schema.docker.cmd="sysctl -w vm.max_map_count=262144;docker-compose up" org.label-schema.docker.cmd="sysctl -w vm.max_map_count=262144;docker-compose up"
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin remove x-pack --purge \ RUN /usr/share/elasticsearch/bin/elasticsearch-plugin remove x-pack --purge \
&& yes | /usr/share/elasticsearch/bin/elasticsearch-plugin install mapper-attachments && yes | /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment