hadolint/DL3012¶
Provide an exact tag for multiple HEALTHCHECK instructions.
Superseded by
buildkit/MultipleInstructionsDisallowed, which covers duplicateHEALTHCHECK,CMD, andENTRYPOINTinstructions with auto-fix support.
Description¶
Multiple HEALTHCHECK instructions should not be used in the same stage because only the last one will be used.