Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh) Upstream-commit: a1522ec01c21807e657e840760a8186f482f2271 Component: engine
17 lines
310 B
Go
17 lines
310 B
Go
package builder
|
|
|
|
import (
|
|
"github.com/docker/docker/runconfig"
|
|
)
|
|
|
|
// Create a new builder. See
|
|
func NewBuilder(opts *BuildOpts) *BuildFile {
|
|
return &BuildFile{
|
|
Dockerfile: nil,
|
|
Config: &runconfig.Config{},
|
|
Options: opts,
|
|
TmpContainers: UniqueMap{},
|
|
TmpImages: UniqueMap{},
|
|
}
|
|
}
|