hadolint-2.14.0: Dockerfile Linter JavaScript API
Safe HaskellNone
LanguageGHC2021

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 multiple RUN instructions. Cases where --mount=xxx flags differ are excluded as well.