Explorar o código

[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 %!s(int64=8) %!d(string=hai) anos
pai
achega
91b5669d99
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 --------------------------------------------