Browse Source

[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
Dimitrios Liappis 8 years ago
parent
commit
91b5669d99
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/setup/install/docker.asciidoc

+ 1 - 1
docs/reference/setup/install/docker.asciidoc

@@ -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
 --------------------------------------------