Browse Source
When setting the DEBIAN_FRONTEND environment variable, it's best to apply it directly to apt commands rather than setting it globally. If DEBIAN_FRONTEND=noninteractive is set as a persistent environment variable in the container image, it can affect other Debian-specific commands run after the container starts, potentially leading to unintended behavior. Instead, consider using it like this: DEBIAN_FRONTEND=noninteractive apt-get update DEBIAN_FRONTEND=noninteractive apt-get install ... This ensures the variable is only active during the apt operations and isn't retained in the final image, preventing any lingering side effects.pull/5891/head
committed by
GitHub
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue