Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseBuildCmds ¶
func ParseBuildCmds(d *Dockerfile) types.BuildCmds
ParseBuildCmds extracts RUN commands from the last dockerfile stage with #rundev or #rundev[PATTERN,..] annotation.
Types ¶
type Cmd ¶
func ParseEntrypoint ¶
func ParseEntrypoint(d *Dockerfile) (Cmd, error)
type Dockerfile ¶
type Dockerfile struct {
// contains filtered or unexported fields
}
func ParseDockerfile ¶
func ParseDockerfile(b []byte) (*Dockerfile, error)
func (*Dockerfile) Stmts ¶
func (d *Dockerfile) Stmts() []*parser.Node
Click to show internal directories.
Click to hide internal directories.