package build

import "github.com/docker/buildx/controller/build"

Index

Functions

func RunBuild

func RunBuild(ctx context.Context, dockerCli command.Cli, in controllerapi.BuildOptions, inStream io.Reader, progress progress.Writer, generateResult bool) (*client.SolveResponse, *build.ResultHandle, error)

RunBuild runs the specified build and returns the result.

NOTE: When an error happens during the build and this function acquires the debuggable *build.ResultHandle, this function returns it in addition to the error (i.e. it does "return nil, res, err"). The caller can inspect the result and debug the cause of that error.

Source Files

build.go

Version
v0.14.0
Published
Apr 17, 2024
Platform
js/wasm
Imports
25 packages
Last checked
9 hours ago

Tools for package owners.