[docs] Add missing RUN command from custom docker config

Fix the `Dockerfile` example in the `Customizing image` third configuration
method by adding the missing RUN instruction.

Originally reported by Shankar Vasudevan (@vshank77).

Relates #21973
This commit is contained in:
Dimitrios Liappis 2017-01-11 11:13:05 +02:00 committed by GitHub
parent 0f391336f5
commit 91b5669d99
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ In some environments, it may make more sense to prepare a custom image containin
FROM docker.elastic.co/elasticsearch/elasticsearch:{version}
ADD elasticsearch.yml /usr/share/elasticsearch/config/
USER root
chown elasticsearch:elasticsearch config/elasticsearch.yml
RUN chown elasticsearch:elasticsearch config/elasticsearch.yml
USER elasticsearch
--------------------------------------------