Update dockerfile_best-practices.md

Signed-off-by: Thell Fowler <Thell@tbfowler.name>
This commit is contained in:
Thell 'Bo' Fowler 2015-01-31 11:02:09 -06:00
parent 18d8fe1249
commit cb3be586d6
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ like `RUN groupadd -r postgres && useradd -r -g postgres postgres`.
> rebuilds. So, if its critical, you should assign an explicit UID/GID.
You should avoid installing or using `sudo` since it has unpredictable TTY and
signal-forwarding behavior that can cause more more problems than it solves. If
signal-forwarding behavior that can cause more problems than it solves. If
you absolutely need functionality similar to `sudo` (e.g., initializing the
daemon as root but running it as non-root), you may be able to use
[“gosu”](https://github.com/tianon/gosu).