1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder/builder-next/executor_unix.go
Tibor Vass 3a1da5c534 builder: fix compiling with buildkit on windows and integration tests
Signed-off-by: Tibor Vass <tibor@docker.com>
2018-06-10 10:05:28 -07:00

17 lines
371 B
Go

// +build !windows
package buildkit
import (
"path/filepath"
"github.com/moby/buildkit/executor"
"github.com/moby/buildkit/executor/runcexecutor"
)
func newExecutor(root string) (executor.Executor, error) {
return runcexecutor.New(runcexecutor.Opt{
Root: filepath.Join(root, "executor"),
CommandCandidates: []string{"docker-runc", "runc"},
})
}