You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dockerfile_lint warns about errors being on lines 3 and 5 but it should really be on lines 2 and 3. It's not splitting the \r\n characters as a set.
> cat Dockerfile.test
FROM busybox
HEALTHCHECK cmd
HEALTHCHECK cmd
> node bin\dockerfile_lint -f Dockerfile.test
--------ERRORS---------
Line 3: -> HEALTHCHECK cmd
ERROR: A HEALTHCHECK instruction must specify either NONE, or a valid CMD and options.
Reference -> https://docs.docker.com/engine/reference/builder/
Line 5: -> HEALTHCHECK cmd
ERROR: A HEALTHCHECK instruction must specify either NONE, or a valid CMD and options.
Reference -> https://docs.docker.com/engine/reference/builder/
ERROR: Required LABEL name/key 'Name' is not defined.
Reference -> http://docs.projectatomic.io/container-best-practices/#_recommended_labels_for_your_project
ERROR: Required LABEL name/key 'Version' is not defined.
Reference -> http://docs.projectatomic.io/container-best-practices/#_recommended_labels_for_your_project
--------INFO---------
INFO: There is no 'EXPOSE' instruction. Without exposed ports how will the service of the container be accessed?.
Reference -> https://docs.docker.com/engine/reference/builder/#expose
INFO: There is no 'CMD' instruction. None.
Reference -> https://docs.docker.com/engine/reference/builder/#cmd
The text was updated successfully, but these errors were encountered:
dockerfile_lint warns about errors being on lines 3 and 5 but it should really be on lines 2 and 3. It's not splitting the \r\n characters as a set.
The text was updated successfully, but these errors were encountered: