sudo apt-get update #安装 apt 依赖包,用于通过 HTTPS 来获取仓库。 sudo apt-get install \ ...
RUN apk update && apk add ca-certificates RUN update-ca-certificates 请你在构建镜像的加上这两句,用于安装上证书到系统中。 / # aliyun configure Configuring profile '' in '' authenticate mode... Access Key Id [***C44]: Access Key Secret [***8KL]: Default Region Id []: cn-hangzhou ...