Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dependencies ¶
Dependencies returns a list of files in this stage that will be needed in later stages
func Parse ¶
func Parse(b []byte) ([]instructions.Stage, error)
Parse parses the contents of a Dockerfile and returns a list of commands
func ParseCommands ¶
func ParseCommands(cmdArray []string) ([]instructions.Command, error)
ParseCommands parses an array of commands into an array of instructions.Command; used for onbuild
func ResolveStages ¶
func ResolveStages(stages []instructions.Stage)
ResolveStages resolves any calls to previous stages with names to indices Ex. --from=second_stage should be --from=1 for easier processing later on
Types ¶
type BuildArgs ¶
func NewBuildArgs ¶
func (*BuildArgs) ReplacementEnvs ¶
ReplacementEnvs returns a list of filtered environment variables
Click to show internal directories.
Click to hide internal directories.