Clarify USER instruction documentation

Reuse WORKDIR wording to specify that the USER instructions affect the
following RUN, CMD, and ENTRYPOINT instructions.

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
Upstream-commit: 7caa149d5f
Component: cli
This commit is contained in:
Arnaud Porterie
2017-06-02 00:06:39 +00:00
committed by Tibor Vass
parent b0ca1476df
commit 2c48eb8298
@@ -731,7 +731,8 @@ documentation.
USER daemon
The `USER` instruction sets the user name or UID to use when running the image
and for any following `RUN` directives.
and for any `RUN`, `CMD` and `ENTRYPOINT` instructions that follow it in the
`Dockerfile`.
## WORKDIR