mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
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{},
|
|
}
|
|
}
|