18 lines
328 B
Go
18 lines
328 B
Go
// +build standalone,!containerd
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/moby/buildkit/control"
|
|
"github.com/urfave/cli"
|
|
)
|
|
|
|
func appendFlags(f []cli.Flag) []cli.Flag {
|
|
return f
|
|
}
|
|
|
|
// root must be an absolute path
|
|
func newController(c *cli.Context, root string) (*control.Controller, error) {
|
|
return control.NewStandalone(root)
|
|
}
|