2014-08-11 15:44:31 +00:00
|
|
|
package builder
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/docker/docker/runconfig"
|
|
|
|
)
|
|
|
|
|
2014-08-15 16:29:35 +00:00
|
|
|
// Create a new builder. See
|
|
|
|
func NewBuilder(opts *BuildOpts) *BuildFile {
|
|
|
|
return &BuildFile{
|
2014-08-11 15:44:31 +00:00
|
|
|
Dockerfile: nil,
|
2014-08-13 10:07:41 +00:00
|
|
|
Config: &runconfig.Config{},
|
2014-08-11 15:44:31 +00:00
|
|
|
Options: opts,
|
2014-08-19 11:14:21 +00:00
|
|
|
TmpContainers: map[string]struct{}{},
|
2014-08-11 15:44:31 +00:00
|
|
|
}
|
|
|
|
}
|