From 6176ced7919e8272f615733071e83ba71f3189c9 Mon Sep 17 00:00:00 2001 From: Alex Suraci Date: Mon, 4 Jan 2021 16:18:46 -0500 Subject: [PATCH] hardcode root dir to /scratch/buildkitd this should convince buildkitd to use the overlayfs driver instead of naive Signed-off-by: Alex Suraci --- cmd/task/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/task/main.go b/cmd/task/main.go index ccb3d45..1a0fd54 100644 --- a/cmd/task/main.go +++ b/cmd/task/main.go @@ -29,7 +29,9 @@ func main() { } } - buildkitd, err := task.SpawnBuildkitd(req, nil) + buildkitd, err := task.SpawnBuildkitd(req, &task.BuildkitdOpts{ + RootDir: "/scratch/buildkitd", + }) failIf("start buildkitd", err) res, err := task.Build(buildkitd, wd, req)