moby--moby/builder/builder.go

16 lines
290 B
Go
Raw Normal View History

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: map[string]struct{}{},
}
}