hadolint/DL3043¶
ONBUILD, FROM or MAINTAINER triggered from within ONBUILD instruction.
| Property | Value |
|---|---|
| Severity | Error |
| Category | Correctness |
| Default | Enabled |
Description¶
The ONBUILD instruction does not allow ONBUILD, FROM, or MAINTAINER as nested instructions. Using any of these within an ONBUILD trigger is
an error and will cause a build failure.