Image build

1. 介绍

2. 多阶段镜像构建

在这里插入图片描述

如果报错Docker build “Could not resolve ‘archive.ubuntu.com’” apt-get fails to install anything 执行

3. 安全加固

在这里插入图片描述 配置Dockerfile

更多细节链接: docker build与Dockerfile

最后更新于