MCPcopy Create free account
hub / github.com/linuxkit/linuxkit / Build

Method Build

src/cmd/linuxkit/pkglib/docker.go:23–23  ·  view source on GitHub ↗
(ctx context.Context, tag, pkg, dockerContext, builderImage, builderConfigPath, platform string, restart, preCacheImages bool, c spec.CacheProvider, r io.Reader, stdout io.Writer, sbomScan bool, sbomScannerImage, platformType string, imageBuildOpts spec.ImageBuildOptions)

Source from the content-addressed store, hash-verified

21type DockerRunner interface {
22 Tag(ref, tag string) error
23 Build(ctx context.Context, tag, pkg, dockerContext, builderImage, builderConfigPath, platform string, restart, preCacheImages bool, c spec.CacheProvider, r io.Reader, stdout io.Writer, sbomScan bool, sbomScannerImage, platformType string, imageBuildOpts spec.ImageBuildOptions) error
24 Save(tgt string, refs ...string) error
25 Load(src io.Reader) error
26 Pull(img string) (bool, error)

Callers 4

pkgBuildCmdFunction · 0.65
buildCmdFunction · 0.65
buildArchMethod · 0.65
TestBuildFunction · 0.65

Implementers 3

dockerRunnerImplsrc/cmd/linuxkit/pkglib/dockerimpl.go
dockerMockersrc/cmd/linuxkit/pkglib/build_test.go
dockerDryRunnerImplsrc/cmd/linuxkit/pkglib/dockerdryrun.g

Calls

no outgoing calls

Tested by 1

TestBuildFunction · 0.52