【Docker】apt-getで The following signatures couldn't be verified because the public key is not available: NO_PUBKEY エラー

mysql 5.7 imageでのapt-get updateがなんか失敗するようになった。

 ERROR [2/2] RUN apt-key update &&     apt-get update &&     apt-get install -y locales &&     rm -rf /var/lib/apt/lists/* &&     echo "ja_JP.UTF-8 UTF-8" > /etc  14.2s
------

~~~

#5 14.16 W: GPG error: http://repo.mysql.com/apt/debian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY << pubkey >>

pubkeyが登録されていないらしいので、する。

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys << pubkey >>