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
If the retries flag of a HEALTHCHECK instruction is not an integer, the engine will throw a parsing error. We should do the same and create a diagnostic for this case.
FROM scratch AS setup
HEALTHCHECK --retries=a CMD ls
$ docker build .
Sending build context to Docker daemon 86.15MB
Step 1/2 : FROM scratch AS setup
--->
Step 2/2 : HEALTHCHECK --retries=a CMD ls
strconv.ParseInt: parsing "a": invalid syntax
The text was updated successfully, but these errors were encountered:
If the
retries
flag of aHEALTHCHECK
instruction is not an integer, the engine will throw a parsing error. We should do the same and create a diagnostic for this case.The text was updated successfully, but these errors were encountered: