mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update buildkit to v0.17.0-rc1
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
@ -165,4 +165,12 @@ var (
|
||||
},
|
||||
Experimental: true,
|
||||
}
|
||||
RuleInvalidDefinitionDescription = LinterRule[func(string, string) string]{
|
||||
Name: "InvalidDefinitionDescription",
|
||||
Description: "Comment for build stage or argument should follow the format: `# <arg/stage name> <description>`. If this is not intended to be a description comment, add an empty line or comment between the instruction and the comment.",
|
||||
URL: "https://docs.docker.com/go/dockerfile/rule/invalid-definition-description/",
|
||||
Format: func(instruction, defName string) string {
|
||||
return fmt.Sprintf("Comment for %s should follow the format: `# %s <description>`", instruction, defName)
|
||||
},
|
||||
}
|
||||
)
|
||||
|
Reference in New Issue
Block a user