Documentation ¶
Index ¶
- func GetDockerStagesNameToIndexMap(stages []instructions.Stage) map[string]int
- func GetDockerTargetStageIndex(dockerStages []instructions.Stage, dockerTargetStage string) (int, error)
- func NewDockerfileStageFromBuildkitStage(index int, stage instructions.Stage, shlex *shell.Lex, ...) (*dockerfile.DockerfileStage, error)
- func ParseDockerfileWithBuildkit(dockerfileBytes []byte, opts dockerfile.DockerfileOptions) (*dockerfile.Dockerfile, error)
- func ResolveDockerStagesFromValue(stages []instructions.Stage)
- type DockerfileYaml
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDockerStagesNameToIndexMap ¶
func GetDockerStagesNameToIndexMap(stages []instructions.Stage) map[string]int
func GetDockerTargetStageIndex ¶
func GetDockerTargetStageIndex(dockerStages []instructions.Stage, dockerTargetStage string) (int, error)
func NewDockerfileStageFromBuildkitStage ¶ added in v1.2.185
func NewDockerfileStageFromBuildkitStage(index int, stage instructions.Stage, shlex *shell.Lex, metaArgs, buildArgs map[string]string) (*dockerfile.DockerfileStage, error)
func ParseDockerfileWithBuildkit ¶
func ParseDockerfileWithBuildkit(dockerfileBytes []byte, opts dockerfile.DockerfileOptions) (*dockerfile.Dockerfile, error)
func ResolveDockerStagesFromValue ¶
func ResolveDockerStagesFromValue(stages []instructions.Stage)
Types ¶
type DockerfileYaml ¶
type DockerfileYaml struct{}
TODO: implement Dockerfile.yaml or werf.yaml section parser primitives and conversion to Dockerfile and DockerfileStage primitives
Click to show internal directories.
Click to hide internal directories.