Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dockerfile ¶
type Dockerfile interface { GetBuildContext() string GetContent() string GetContentWithoutIgnoredLines() string GetContextIncludes() []string GetFriendlyTag() string GetTagAliases() []string GetRequiredStages() []string Render() error }
Dockerfile is the interface for a parsed Dockerfile
func NewDockerfile ¶
func NewDockerfile(content []byte, stageName string, buildConf config.BuildConfiguration, currentContext, builderContext string, resolver StageResolver, exec executor.Executor) Dockerfile
NewDockerfile renders a given Dockerfile based on provided BuildData
func NewDockerfileFromFile ¶
func NewDockerfileFromFile(filepath, stageName string, buildConf config.BuildConfiguration, currentContext, builderContext string, resolver StageResolver, exec executor.Executor) (Dockerfile, error)
NewDockerfileFromFile renders a given Dockerfile based on provided BuildData
type StageResolver ¶
Click to show internal directories.
Click to hide internal directories.