Remove erroneous ENTRYPOINT note

The Dockerfile parser does not subsitute ENV variables in any form of
the ENTRYPOINT command.  Any substitution, if done, is done by the shell
when the command is executed.

Signed-off-by: David Dooling <dooling@gmail.com>
master
David Dooling 2016-08-16 15:01:05 -05:00 committed by Tibor Vass
parent 6132c35c04
commit 2b84c776d0
1 changed files with 0 additions and 2 deletions

View File

@ -1075,8 +1075,6 @@ sys 0m 0.03s
> `ENTRYPOINT [ "echo", "$HOME" ]` will not do variable substitution on `$HOME`.
> If you want shell processing then either use the *shell* form or execute
> a shell directly, for example: `ENTRYPOINT [ "sh", "-c", "echo $HOME" ]`.
> Variables that are defined in the `Dockerfile`using `ENV`, will be substituted by
> the `Dockerfile` parser.
### Shell form ENTRYPOINT example