-
Notifications
You must be signed in to change notification settings - Fork 441
DL3049
Moritz Röhrich edited this page Mar 23, 2021
·
1 revision
This rule is only activated, when specifying a label-schema. The examples used on this wiki page presume the label-schema is:
label-schema:
version: text
or specified via command line:
$ hadolint --require-label version
FROM busybox
FROM busybox
LABEL version="1.0.1"
When a label-schema is specified, all labels within that schema must be present.