MCPcopy Index your code
hub / github.com/docker/cli / NewBuildCommand

Function NewBuildCommand

cli/command/image/build.go:88–90  ·  view source on GitHub ↗

NewBuildCommand creates a new `docker build` command Deprecated: Do not import commands directly. They will be removed in a future release.

(dockerCLI command.Cli)

Source from the content-addressed store, hash-verified

86//
87// Deprecated: Do not import commands directly. They will be removed in a future release.
88func NewBuildCommand(dockerCLI command.Cli) *cobra.Command {
89 return newBuildCommand(dockerCLI)
90}
91
92// newBuildCommand creates a new `docker build` command
93func newBuildCommand(dockerCLI command.Cli) *cobra.Command {

Callers

nothing calls this directly

Calls 1

newBuildCommandFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…