package command

import "github.com/docker/docker/builder/command"

Package command contains the set of Dockerfile commands.

Index

Constants

const (
	Env        = "env"
	Label      = "label"
	Maintainer = "maintainer"
	Add        = "add"
	Copy       = "copy"
	From       = "from"
	Onbuild    = "onbuild"
	Workdir    = "workdir"
	Run        = "run"
	Cmd        = "cmd"
	Entrypoint = "entrypoint"
	Expose     = "expose"
	Volume     = "volume"
	User       = "user"
)

Define constants for the command strings

Variables

var Commands = map[string]struct{}{
	Env:        {},
	Label:      {},
	Maintainer: {},
	Add:        {},
	Copy:       {},
	From:       {},
	Onbuild:    {},
	Workdir:    {},
	Run:        {},
	Cmd:        {},
	Entrypoint: {},
	Expose:     {},
	Volume:     {},
	User:       {},
}

Commands is list of all Dockerfile commands

Source Files

command.go

Version
v1.8.3
Published
Oct 12, 2015
Platform
linux/amd64
Last checked
17 minutes ago

Tools for package owners.