hadolint-2.12.0: Dockerfile Linter JavaScript API
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hadolint.Rule.DL3059

Synopsis

Documentation

rule :: Rule ParsedShell Source #

This Rule catches multiple consecutive RUN instructions. It ignores the case where multiple commands are chained together (e.g. with &&) because in that case the programmer most likely has deliberately chosen to use multiuple RUN instructions. Cases where --mount=xxx flags differ are excluded as well.