vendor: update buildkit to v0.20.0-rc2

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi
2025-02-13 16:54:50 -08:00
parent 6a6fa4f422
commit 1784f84561
8 changed files with 24 additions and 6 deletions

View File

@ -18,7 +18,7 @@ var (
var (
UserCNIConfigPath = DefaultCNIConfigPath
CDISpecDirs []string
CDISpecDirs = []string{filepath.Join(os.Getenv("ProgramData"), "buildkitd", "cdi")}
)
func UserAddress() string {

View File

@ -41,6 +41,7 @@ func InitDockerdWorker() {
FeatureSBOM,
FeatureSecurityMode,
FeatureCNINetwork,
FeatureCDI,
},
})
integration.Register(&Moby{
@ -51,6 +52,7 @@ func InitDockerdWorker() {
FeatureSecurityMode,
FeatureCNINetwork,
FeatureContentCheck,
FeatureCDI,
},
})
}

View File

@ -31,6 +31,7 @@ const (
FeatureSourceDateEpoch = "source_date_epoch"
FeatureCNINetwork = "cni_network"
FeatureContentCheck = "content_check"
FeatureCDI = "cdi"
)
var features = map[string]struct{}{
@ -58,6 +59,7 @@ var features = map[string]struct{}{
FeatureSourceDateEpoch: {},
FeatureCNINetwork: {},
FeatureContentCheck: {},
FeatureCDI: {},
}
func CheckFeatureCompat(t *testing.T, sb integration.Sandbox, reason ...string) {