Repository navigation
point out that ENV DEBIAN_FRONTEND will persist, so its not recommended - #4035
Conversation
|
This feels like a very specific implementation example. I'd add some context around it and then use this specific environment variable as an example. |
|
Indeed, +1 to @jamtur01. I think we could even go further and purge this environment variable from all our docs examples, since all it does is silence some otherwise harmless warnings. |
|
@tianon The non interactive mode is important and it is not harmless to remove it. You have plenty of packages that require a TTY for installation in order to prompt things to the user. It can prevent a package from being installable. |
|
@creack got an example package that fails? :) |
|
|
|
Doc format LGTM, but the information does seem pretty specialized. It seems like if you did Did this problem come up in a specific context? I don't see it in any of our documentation examples. |
|
@metalivedev yeah - its because I used it in #4034 . I'm trying to start writing down some of the best and worst practices, and this is one obvious thing I've seen other people's Dockerfiles do. |
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <[email protected]> (github: SvenDowideit)
|
its still a specific thing, but I've added a little more info and tones it down. Perhaps we should collect this information elsewhere, like in the documentation at https://index.docker.io/_/debian/ |
|
I think the information is valuable, so I'll merge it :-) Grammarians can suggest changes later, and if we start getting cluttered with best practices like these, then we can break them out to their own doc, maybe per Installation. |
point out that ENV DEBIAN_FRONTEND will persist, so its not recommended
|
We do have an FAQ we could add this too. |
|
Perhaps with the advent of the ARG directive, it would now be beneficial to suggest using it in favor of |
Docker-DCO-1.1-Signed-off-by: Sven Dowideit [email protected] (github: SvenDowideit)
for #4032