mirror of
https://github.com/moby/buildkit.git
synced 2026-08-04 14:50:21 +00:00
15 lines
498 B
Markdown
15 lines
498 B
Markdown
# `build-using-dockerfile` example
|
|
|
|
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`.
|
|
|
|
```bash
|
|
go get .
|
|
|
|
build-using-dockerfile -t myimage /path/to/dir
|
|
|
|
# build-using-dockerfile will automatically load the resulting image to Docker
|
|
docker inspect myimage
|
|
```
|