Files
buildkit/examples/build-using-dockerfile
Tonis Tiigi 0dd260bcf5 progessui: return warnings from printer
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-11-30 21:58:37 -08:00
..
2019-10-16 18:55:27 +09:00

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