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

Function newBuildOptions

cli/command/image/build.go:74–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72}
73
74func newBuildOptions() buildOptions {
75 ulimits := make(map[string]*container.Ulimit)
76 return buildOptions{
77 tags: opts.NewListOpts(validateTag),
78 buildArgs: opts.NewListOpts(opts.ValidateEnv),
79 ulimits: opts.NewUlimitOpt(&ulimits),
80 labels: opts.NewListOpts(opts.ValidateLabel),
81 extraHosts: opts.NewListOpts(opts.ValidateExtraHost),
82 }
83}
84
85// NewBuildCommand creates a new `docker build` command
86//

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…