github.com/aimxhaisse/docker@v1.6.2/builder/command/command.go (about)

     1  // This package contains the set of Dockerfile commands.
     2  package command
     3  
     4  const (
     5  	Env        = "env"
     6  	Label      = "label"
     7  	Maintainer = "maintainer"
     8  	Add        = "add"
     9  	Copy       = "copy"
    10  	From       = "from"
    11  	Onbuild    = "onbuild"
    12  	Workdir    = "workdir"
    13  	Run        = "run"
    14  	Cmd        = "cmd"
    15  	Entrypoint = "entrypoint"
    16  	Expose     = "expose"
    17  	Volume     = "volume"
    18  	User       = "user"
    19  	Insert     = "insert"
    20  )
    21  
    22  // Commands is list of all Dockerfile commands
    23  var Commands = map[string]struct{}{
    24  	Env:        {},
    25  	Label:      {},
    26  	Maintainer: {},
    27  	Add:        {},
    28  	Copy:       {},
    29  	From:       {},
    30  	Onbuild:    {},
    31  	Workdir:    {},
    32  	Run:        {},
    33  	Cmd:        {},
    34  	Entrypoint: {},
    35  	Expose:     {},
    36  	Volume:     {},
    37  	User:       {},
    38  	Insert:     {},
    39  }