MCPcopy Create free account
hub / github.com/buildpacks/pack / DefaultRunImage

Method DefaultRunImage

internal/builder/builder.go:327–331  ·  view source on GitHub ↗

DefaultRunImage returns the default run image metadata

()

Source from the content-addressed store, hash-verified

325
326// DefaultRunImage returns the default run image metadata
327func (b *Builder) DefaultRunImage() RunImageMetadata {
328 // run.images are ensured in builder.ValidateConfig()
329 // per the spec, we use the first one as the default
330 return b.RunImages()[0]
331}
332
333// Mixins returns the mixins of the builder
334func (b *Builder) Mixins() []string {

Callers 2

BuildMethod · 0.80
testBuilderFunction · 0.80

Calls 1

RunImagesMethod · 0.95

Tested by 1

testBuilderFunction · 0.64