github.com/webwurst/docker@v1.7.0/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  )
    20  
    21  // Commands is list of all Dockerfile commands
    22  var Commands = map[string]struct{}{
    23  	Env:        {},
    24  	Label:      {},
    25  	Maintainer: {},
    26  	Add:        {},
    27  	Copy:       {},
    28  	From:       {},
    29  	Onbuild:    {},
    30  	Workdir:    {},
    31  	Run:        {},
    32  	Cmd:        {},
    33  	Entrypoint: {},
    34  	Expose:     {},
    35  	Volume:     {},
    36  	User:       {},
    37  }