mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update buildkit to f7bda278b7e2
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
8
vendor/github.com/moby/buildkit/frontend/dockerfile/linter/ruleset.go
generated
vendored
8
vendor/github.com/moby/buildkit/frontend/dockerfile/linter/ruleset.go
generated
vendored
@ -124,4 +124,12 @@ var (
|
||||
return fmt.Sprintf("Base image %s was pulled with platform %q, expected %q for current build", image, actual, expected)
|
||||
},
|
||||
}
|
||||
RuleRedundantTargetPlatform = LinterRule[func(string) string]{
|
||||
Name: "RedundantTargetPlatform",
|
||||
Description: "Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior",
|
||||
URL: "https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/",
|
||||
Format: func(platformVar string) string {
|
||||
return fmt.Sprintf("Setting platform to predefined %s in FROM is redundant as this is the default behavior", platformVar)
|
||||
},
|
||||
}
|
||||
)
|
||||
|
Reference in New Issue
Block a user