Open jokay opened 3 years ago
@egoexpress any idea? :wink:
When removing the option --start-period=15s
from the Dockerfile, there won't be any linting error anymore.
When removing the option
--start-period=15s
from the Dockerfile, there won't be any linting error anymore.
Mmmh, ok, seems to be a bug. I'll have a look into it. '--start-period' is a valid option for HEALTHCHECK and is already included in the linting function, so it should work.
Found the issue. The regular expression checking the option names doesn't count for the dash in the '--start-period' option. PR #167 fixes this.
Thx for the fix.
I missed up with issue number... It was #156....
When using this HEALTHCHECK in a Dockerfile:
I get this linting error from super-linter / dockerfilelint 1.8.0:
Any idea on how to fix this?