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

Method SetStack

internal/builder/builder.go:434–441  ·  view source on GitHub ↗

SetStack sets the stack of the builder

(stackConfig builder.StackConfig)

Source from the content-addressed store, hash-verified

432
433// SetStack sets the stack of the builder
434func (b *Builder) SetStack(stackConfig builder.StackConfig) {
435 b.metadata.Stack = StackMetadata{
436 RunImage: RunImageMetadata{
437 Image: stackConfig.RunImage,
438 Mirrors: stackConfig.RunImageMirrors,
439 },
440 }
441}
442
443// SetSystem sets the system buildpacks of the builder
444func (b *Builder) SetSystem(system dist.System) {

Callers 2

createBuilderTargetMethod · 0.80
testBuilderFunction · 0.80

Calls

no outgoing calls

Tested by 1

testBuilderFunction · 0.64