Skip to content

Commit

Permalink
Remove stargz from builder bob
Browse files Browse the repository at this point in the history
  • Loading branch information
Furisto authored and roboquat committed May 20, 2022
1 parent a56ef0a commit 20ae141
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/image-builder-bob/pkg/builder/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func buildImage(ctx context.Context, contextDir, dockerfile, authLayer, target s
// "--debug",
"build",
"--progress=plain",
"--output=type=image,name=" + target + ",push=true,oci-mediatypes=true,compression=estargz,force-compression=true",
"--output=type=image,name=" + target + ",push=true,oci-mediatypes=true",
//"--export-cache=type=inline",
"--local=context=" + contextdir,
//"--export-cache=type=registry,ref=" + target + "-cache",
Expand Down Expand Up @@ -209,7 +209,7 @@ func StartBuildkit(socketPath string) (cl *client.Client, teardown func() error,
cmd := exec.Command("buildkitd",
"--debug",
"--addr="+socketPath,
"--oci-worker-net=host", "--oci-worker-snapshotter=stargz",
"--oci-worker-net=host",
"--root=/workspace/buildkit",
)
cmd.SysProcAttr = &syscall.SysProcAttr{Credential: &syscall.Credential{Uid: 0, Gid: 0}}
Expand Down

0 comments on commit 20ae141

Please sign in to comment.