mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update buildkit to master@b49a8873179b
Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
10
vendor/github.com/moby/buildkit/util/appdefaults/appdefaults_unix.go
generated
vendored
10
vendor/github.com/moby/buildkit/util/appdefaults/appdefaults_unix.go
generated
vendored
@ -70,3 +70,13 @@ func UserConfigDir() string {
|
||||
}
|
||||
return ConfigDir
|
||||
}
|
||||
|
||||
func TraceSocketPath(inUserNS bool) string {
|
||||
if inUserNS {
|
||||
if xrd := os.Getenv("XDG_RUNTIME_DIR"); xrd != "" {
|
||||
dirs := strings.Split(xrd, ":")
|
||||
return filepath.Join(dirs[0], "buildkit", "otel-grpc.sock")
|
||||
}
|
||||
}
|
||||
return "/run/buildkit/otel-grpc.sock"
|
||||
}
|
||||
|
Reference in New Issue
Block a user