telemetry support

Fixes #832

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-07-20 13:11:20 +02:00
parent eb78661620
commit 5bc0bff1b0
24 changed files with 378 additions and 32 deletions

View File

@@ -109,6 +109,7 @@ func startBuildkit(ctx context.Context) error {
Logger()
lg.Debug().Msg("pulling buildkit image")
// #nosec
cmd := exec.CommandContext(ctx,
"docker",
"pull",
@@ -128,6 +129,7 @@ func startBuildkit(ctx context.Context) error {
// in order for containers to be able to reach localhost.
// This is required for things such as kubectl being able to
// reach a KinD/minikube cluster locally
// #nosec
cmd = exec.CommandContext(ctx,
"docker",
"run",