aboutsummaryrefslogtreecommitdiffstats
path: root/elasticsearch-sg/src/main/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'elasticsearch-sg/src/main/docker/Dockerfile')
-rw-r--r--elasticsearch-sg/src/main/docker/Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/elasticsearch-sg/src/main/docker/Dockerfile b/elasticsearch-sg/src/main/docker/Dockerfile
new file mode 100644
index 0000000..0ccb31d
--- /dev/null
+++ b/elasticsearch-sg/src/main/docker/Dockerfile
@@ -0,0 +1,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"] \ No newline at end of file