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
The validator currently considers a flag as an argument so it doesn't warn about HEALTHCHECK instructions that don't specify a CMD or a NONE. If a HEALTHCHECK instruction has flags but no arguments, a diagnostic should be published.
FROM alpine
HEALTHCHECK --retries=3
$ docker build .
Sending build context to Docker daemon 86.15MB
Step 1/2 : FROM alpine
---> 7328f6f8b418
Step 2/2 : HEALTHCHECK --retries=3
HEALTHCHECK requires at least one argument
The text was updated successfully, but these errors were encountered:
rcjsuen
changed the title
Publish diagnostic if HEALTHCHECK has no arguments
Publish diagnostic if HEALTHCHECK has flags but no no arguments
Sep 14, 2017
rcjsuen
changed the title
Publish diagnostic if HEALTHCHECK has flags but no no arguments
Publish diagnostic if HEALTHCHECK has flags but no arguments
Sep 14, 2017
The validator currently considers a flag as an argument so it doesn't warn about
HEALTHCHECK
instructions that don't specify aCMD
or aNONE
. If aHEALTHCHECK
instruction has flags but no arguments, a diagnostic should be published.The text was updated successfully, but these errors were encountered: