builder

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildPlan

type BuildPlan struct {
	// contains filtered or unexported fields
}

BuildPlan describes a list of named buildStages, that can copy files between one another.

func NewBuildPlan

func NewBuildPlan(
	ctx *context.BuildContext, target image.Name, replicas []image.Name, cacheMgr cache.Manager,
	parsedStages []*dockerfile.Stage, allowModifyFS, forceCommit bool, stageTarget string) (*BuildPlan, error)

NewBuildPlan takes in contextDir, a target image and an ImageStore, and returns a new BuildPlan.

func (*BuildPlan) Execute

func (plan *BuildPlan) Execute() (*image.DistributionManifest, error)

Execute executes all build stages in order.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL