gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

在 Docker 中 Ubuntu 添加密钥时遇到的错误

Step 4/14 : RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
---> Running in dd67e1511194
E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation