diff --git a/frontend/dockerfile/linter/ruleset.go b/frontend/dockerfile/linter/ruleset.go index 175735274011c..773288adc39a1 100644 --- a/frontend/dockerfile/linter/ruleset.go +++ b/frontend/dockerfile/linter/ruleset.go @@ -18,7 +18,7 @@ var ( Description: "The AS keyword should match the case of the FROM keyword", URL: "https://docs.docker.com/go/dockerfile/rule/from-as-casing/", Format: func(from, as string) string { - return fmt.Sprintf("'%s' and '%s' keywords casing do not match", as, from) + return fmt.Sprintf("Casing mismatch: keywords '%s' and '%s' should match in case", from, as) }, } RuleNoEmptyContinuation = LinterRule[func() string]{