
As mentioned in [0], the best practice is NOT to use ENV for DEBIAN_FRONTEND as it will persists in the final image. It appears that the common consensus is to use ARG instead so that noninteractive DEBIAN_FRONTEND is set only during build. [0] https://github.com/moby/moby/issues/4032 Change-Id: I6980e140ee5a51596a2f9ba4e1471e2c98599846