Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GuessEntrypoint ¶
func GuessEntrypoint(fs util.FileSystem, sourceDir string) (string, error)
GuessEntrypoint tries to guess the valid entrypoint from the source code repository. The valid entrypoints are defined above (run,start,exec,execute)
Types ¶
type OnBuild ¶
type OnBuild struct {
// contains filtered or unexported fields
}
OnBuild strategy executes the simple Docker build in case the image does not support STI scripts but has ONBUILD instructions recorded.
func New ¶
func New(client docker.Client, config *api.Config, fs util.FileSystem, overrides build.Overrides) (*OnBuild, error)
New returns a new instance of OnBuild builder
Click to show internal directories.
Click to hide internal directories.