blob: 24352429e57e008a291a5653e46d69355d3a2a7f [file] [log] [blame]
osgn422w0ce11ea2019-07-17 16:17:13 +02001# https://github.com/elastic/elasticsearch-docker
osgn422w2f045be2019-09-02 17:56:55 +02002FROM docker.elastic.co/elasticsearch/elasticsearch-oss:6.6.2
osgn422w0ce11ea2019-07-17 16:17:13 +02003
4COPY config/sg/ config/sg/
5COPY config/ config/
6COPY bin/ bin/
7#RUN chmod +x bin/init_sg.sh
8COPY my-entrypoint.sh /usr/local/bin/my-entrypoint.sh
sebdetba5fd782019-08-29 15:08:15 +02009RUN chmod a+x /usr/local/bin/my-entrypoint.sh
osgn422w0ce11ea2019-07-17 16:17:13 +020010# Search Guard plugin
11RUN elasticsearch-plugin install --batch com.floragunn:search-guard-6:6.6.2-25.1 \
12 && chmod +x plugins/search-guard-6/tools/*.sh \
13 && chown -R elasticsearch config/sg/ \
14 && chmod -R go= config/sg/
15
16# Add your elasticsearch plugins setup here
17# Example: RUN elasticsearch-plugin install analysis-icu
18
19# This custom entrypoint script is used instead of
20# the original's /usr/local/bin/docker-entrypoint.sh
21ENTRYPOINT ["bash","-c","my-entrypoint.sh"]