Signed-off-by: Tibor Vass <tibor@docker.com> (cherry picked from commit dc7e472db986fa3c07806f56e82db756c47567fb) Signed-off-by: Tibor Vass <tibor@docker.com> Upstream-commit: 1d531ff64f99e07ac8733894416de8212a6c7278 Component: engine
23 lines
559 B
Go
23 lines
559 B
Go
package buildkit
|
|
|
|
import (
|
|
"context"
|
|
"errors"
|
|
"io"
|
|
|
|
"github.com/docker/libnetwork"
|
|
"github.com/moby/buildkit/cache"
|
|
"github.com/moby/buildkit/executor"
|
|
)
|
|
|
|
func newExecutor(_, _ string, _ libnetwork.NetworkController) (executor.Executor, error) {
|
|
return &winExecutor{}, nil
|
|
}
|
|
|
|
type winExecutor struct {
|
|
}
|
|
|
|
func (e *winExecutor) Exec(ctx context.Context, meta executor.Meta, rootfs cache.Mountable, mounts []executor.Mount, stdin io.ReadCloser, stdout, stderr io.WriteCloser) error {
|
|
return errors.New("buildkit executor not implemented for windows")
|
|
}
|