build dockerfile时出现以下错误“Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist”
问题:出现错误:Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
解决方案:我们可以在脚本的头部增加from的版本
原本:
修改之后:
之后我们就发现构载镜像成功了!