mirror of
https://github.com/moby/buildkit.git
synced 2026-08-10 01:27:55 +00:00
* examples/kubernetes: newly added * docs/rootless.md: cleaned up for better readability * examples/README.md: split out from the main README.md * examples/build-using-dockerfile/README.md: split out from the main README.md * README.md: add TOC using https://github.com/thlorenz/doctoc * README.md: add mTLS configuration (relates to #1074) * README.md: add more adoptions * README.md: add inline cache (fix #976) Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
build-using-dockerfile example
ℹ️ BuildKit has been integrated to docker build since Docker 18.06.
The build-using-dockerfile CLI is just provided as an example for writing a BuildKit client application.
For people familiar with docker build command, build-using-dockerfile is provided as an example for building Dockerfiles with BuildKit using a syntax similar to docker build.
go get .
build-using-dockerfile -t myimage /path/to/dir
# build-using-dockerfile will automatically load the resulting image to Docker
docker inspect myimage