apt-key command works on shell but fails on Dockerfile apt-key command works on shell but fails on Dockerfile docker docker

apt-key command works on shell but fails on Dockerfile


Solved by adding --no-tty on the apt-key adv command also;

Any idea however why this was happening?