Files
buildkit/examples/build-using-dockerfile
Jonathan A. Sternberg 37131781d7 progressui: adds a json output that shows raw events for the solver status
This adds an additional display output for the progress indicator to
support a json output. It refators the progressui package a bit to add a
new method that takes in a `SolveStatusDisplay`. This
`SolveStatusDisplay` can be created by the user using `NewDisplay` with
the various modes as input parameters.

The json output will print the raw events as JSON blobs. It will not
throttle the messages or limit the display. It is meant as a pure raw
marshaling of the underlying event stream.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2023-08-24 16:45:58 -05:00
..

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.

go get .

build-using-dockerfile -t myimage /path/to/dir

# build-using-dockerfile will automatically load the resulting image to Docker
docker inspect myimage