diff options
-rw-r--r-- | src/main/docker/elasticsearch/Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/docker/elasticsearch/Dockerfile b/src/main/docker/elasticsearch/Dockerfile index 5e25e56..61c286f 100644 --- a/src/main/docker/elasticsearch/Dockerfile +++ b/src/main/docker/elasticsearch/Dockerfile @@ -37,4 +37,7 @@ COPY config/elasticsearch.yml /usr/share/elasticsearch/config/elasticsearch.yml COPY securityconfig/roles.yml /usr/share/elasticsearch/plugins/opendistro_security/securityconfig/roles.yml COPY securityconfig/internal_users.yml /usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml +RUN chown elasticsearch:elasticsearch /usr/share/supervisor +USER elasticsearch +ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"] |