build -f dockerfile 报错,gpg-check失败
W: GPG error: http://deb.debian.org/debian stable InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/deb.debian.org_debian_dists_stable_InRelease
E: The repository 'http://deb.debian.org/debian stable InRelease' is not signed.
W: GPG error: http://deb.debian.org/debian-security stable-security InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/deb.debian.org_debian-security_dists_stable-security_InRelease
E: The repository 'http://deb.debian.org/debian-security stable-security InRelease' is not signed.
W: GPG error: http://deb.debian.org/debian stable-updates InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/deb.debian.org_debian_dists_stable-updates_InRelease
E: The repository 'http://deb.debian.org/debian stable-updates InRelease' is not signed.
但是直接run启动一个容器,在容器中执行正常

W: GPG error: http://deb.debian.org/debian stable InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/deb.debian.org_debian_dists_stable_InRelease
E: The repository 'http://deb.debian.org/debian stable InRelease' is not signed.
W: GPG error: http://deb.debian.org/debian-security stable-security InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/deb.debian.org_debian-security_dists_stable-security_InRelease
E: The repository 'http://deb.debian.org/debian-security stable-security InRelease' is not signed.
W: GPG error: http://deb.debian.org/debian stable-updates InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/deb.debian.org_debian_dists_stable-updates_InRelease
E: The repository 'http://deb.debian.org/debian stable-updates InRelease' is not signed.
但是直接run启动一个容器,在容器中执行正常