docs/builder/command/command.go

38 lines
591 B
Go

// This package contains the set of Dockerfile commands.
package command
const (
Env = "env"
Maintainer = "maintainer"
Add = "add"
Copy = "copy"
From = "from"
Onbuild = "onbuild"
Workdir = "workdir"
Run = "run"
Cmd = "cmd"
Entrypoint = "entrypoint"
Expose = "expose"
Volume = "volume"
User = "user"
Insert = "insert"
)
// Commands is list of all Dockerfile commands
var Commands = []string{
Env,
Maintainer,
Add,
Copy,
From,
Onbuild,
Workdir,
Run,
Cmd,
Entrypoint,
Expose,
Volume,
User,
Insert,
}