Skip to content

Files

Latest commit

 

History

History
27 lines (18 loc) · 537 Bytes

DL4004.md

File metadata and controls

27 lines (18 loc) · 537 Bytes

Pattern: Ineffective ENTRYPOINT instruction

Issue: -

Description

Only the last ENTRYPOINT instruction in the Dockerfile will have an effect.

Example of incorrect code:

FROM busybox
ENTRYPOINT /bin/true
ENTRYPOINT /bin/false

Example of correct code:

FROM busybox
ENTRYPOINT /bin/false

Further Reading