Docker

Docker容器持续构建过程中遇到的问题

六二三
问题:docker build过程中执行apt update的时候出现"At least one invalid signature was encountered." 10:39:04 Reading package lists... 10:39:04 Building dependency tree... 10:39:04 Reading state information... 10:39:04 apt is already the newest version (1.8.2.3). 10:39:04 apt set to manually installed. 10:39:04 ca-certificates is already the newest version (20200601~deb10u2). 10:39:04 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 10:39:05 Get:1 https://mirrors.tuna.tsinghua.edu.cn/debian buster InRelease [122 kB] 10:39:05 Get:2 https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates InRelease [34.8 kB] 10:39:05 Err:1 https://mirrors.tuna.tsinghua.edu.cn/debian buster InRelease 10:39:05 At least one invalid signature was encountered. 10:39:05 Err:2 https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates InRelease 10:39:05 At least one invalid signature was encountered. 10:39:05 Get:3 https://mirrors.tuna.tsinghua.edu.cn/debian buster-updates InRelease [56.6 kB] 10:39:05 Err:3 https://mirrors.tuna.tsinghua.edu.cn/debian buster-updates InRelease 10:39:05 At least one invalid signature was encountered. 10:39:05 Reading package lists... 10:39:06 W: GPG error: https://mirrors.tuna.tsinghua.edu.cn/debian buster InRelease: At least one invalid signature was encountered. 10:39:06 E: The repository 'https://mirrors.tuna.tsinghua.edu.cn/debian buster InRelease' is not signed. 10:39:06 W: GPG error: https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates InRelease: At least one invalid signature was encountered. 10:39:06 E: The repository 'https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates InRelease' is not signed. 10:39:06 W: GPG error: https://mirrors.tuna.tsinghua.edu.cn/debian buster-updates InRelease: At least one invalid signature was encountered. 10:39:06 E: The repository 'https://mirrors.tuna.tsinghua.edu.cn/debian