MCPcopy Create free account
hub / github.com/containerd/nerdctl / DefaultSpec

Method DefaultSpec

pkg/cmd/builder/build.go:61–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59}
60
61func (p platformParser) DefaultSpec() platforms.Platform {
62 return platforms.DefaultSpec()
63}
64
65func Build(ctx context.Context, client *containerd.Client, options types.BuilderBuildOptions) error {
66 buildctlBinary, buildctlArgs, needsLoading, metaFile, tags, cleanup, err := generateBuildctlArgs(ctx, client, options)

Callers

nothing calls this directly

Calls 1

DefaultSpecMethod · 0.65

Tested by

no test coverage detected