-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
When hadolint gets called by ALE, it shows the rule ID before the message:
(executable check - success) docker
(started) ['/bin/zsh', '-c', 'docker run --rm -i hadolint/hadolint < ''/tmp/nvimR7OOcs/1/Dockerfile''']
(finished - exit code 1) ['/bin/zsh', '-c', 'docker run --rm -i hadolint/hadolint < ''/tmp/nvimR7OOcs/4/Dockerfile''']
<<<OUTPUT STARTS>>>
/dev/stdin:7 DL3018 Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
<<<OUTPUT ENDS>>>
However, in the text buffer the rule ID is omitted. Please show it there, it's extremely useful to look it up in the hadolint docs.
tammersaleh, SuperSandro2000, w0rp and vlakas