Add new versions of elastic search

This commit is contained in:
Arnie
2019-03-25 07:01:42 +01:00
parent 3b44dff061
commit 56daea7eb6
7 changed files with 184 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
ARG IMAGE_NAME
ARG IMAGE_VERSION
FROM ${IMAGE_NAME}:${IMAGE_VERSION}
RUN bin/elasticsearch-plugin install x-pack
ADD elasticsearch.yml /usr/share/elasticsearch/config/
USER root
RUN chown elasticsearch:elasticsearch config/elasticsearch.yml
USER elasticsearch