Files
docker_practice/image/buildkit/README.md
2019-03-08 12:21:07 +08:00

14 lines
275 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## BuildKit
BuildKit 是下一代的镜像构建组件 https://github.com/moby/buildkit 开源。
下面介绍如何在 Docker CE 18.09+ 版本中使用 BuildKit 构建 Docker 镜像
```bash
$ export DOCKER_BUILDKIT=1
# Windows
$ set $env:DOCKER_BUILDKIT=1
```