-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid Argument for HEALTHCHECK #166
Comments
@egoexpress any idea? 😉 |
When removing the option |
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:
File: /builds/dev/app.test/src/app.test.server/Dockerfile Issues: 1 Line 60: HEALTHCHECK --interval=30s --timeout=10s --start-period=15s --retries=5 \ Issue Category Title Description 1 Possible Bug Invalid Argument The arguments to this command are invalid Format]
Any idea on how to fix this?
The text was updated successfully, but these errors were encountered: