Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { // Lowercased command name (ex: `from`) Cmd string // For ONBUILD only this holds the sub-command SubCmd string // Whether the value is written in json form JSON bool // Any flags such as `--from=...` for `COPY`. Flags []string // The contents of the command (ex: `ubuntu:xenial`) Value []string // Stage indicates which stage the command is found in a multistage docker build Stage int }
Command represents a command in a Dockerfile.
Click to show internal directories.
Click to hide internal directories.