Oci worker binary documentation and add missing constructor arg in runc_test
Signed-off-by: Nikhil Pandeti <nikhil.pandeti@utexas.edu>v0.7
parent
cb237bf24e
commit
7efcee49c5
|
@ -46,7 +46,9 @@ insecure-entitlements = [ "network.host", "security.insecure" ]
|
||||||
noProcessSandbox = false
|
noProcessSandbox = false
|
||||||
gc = true
|
gc = true
|
||||||
gckeepstorage = 9000
|
gckeepstorage = 9000
|
||||||
binary = "" # OCI worker binary name, default binary is buildkit-runc
|
# alternate OCI worker binary name(example 'crun'), by default either
|
||||||
|
# buildkit-runc or runc binary is used
|
||||||
|
binary = ""
|
||||||
[worker.oci.labels]
|
[worker.oci.labels]
|
||||||
"foo" = "bar"
|
"foo" = "bar"
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ func newWorkerOpt(t *testing.T, processMode oci.ProcessMode) (base.WorkerOpt, fu
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
rootless := false
|
rootless := false
|
||||||
workerOpt, err := NewWorkerOpt(tmpdir, snFactory, rootless, processMode, nil, nil, netproviders.Opt{Mode: "host"}, nil)
|
workerOpt, err := NewWorkerOpt(tmpdir, snFactory, rootless, processMode, nil, nil, netproviders.Opt{Mode: "host"}, nil, "")
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
return workerOpt, cleanup
|
return workerOpt, cleanup
|
||||||
|
|
Loading…
Reference in New Issue