aboutsummaryrefslogtreecommitdiffstats
path: root/elasticsearch-sg/src/main/docker/Dockerfile
blob: 0ccb31dac7293225b843ad7375efd438f537569c (plain)
1
2
3
4
5
6
7
8
9
10
# https://github.com/elastic/elasticsearch-docker
FROM docker.elastic.co/elasticsearch/elasticsearch:6.1.2

USER elasticsearch

# Search Guard plugin
RUN elasticsearch-plugin install --batch com.floragunn:search-guard-6:6.1.2-22.3 \
	&& chmod +x plugins/search-guard-6/tools/*.sh

ENTRYPOINT ["/usr/share/elasticsearch/bin/run.sh"]