Skip to content
Vlastimil Zeman edited this page Nov 10, 2017 · 2 revisions

Multiple ENTRYPOINT instructions found. If you list more than one ENTRYPOINT then only the last ENTRYPOINT will take effect.

Problematic code:

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

Correct code:

FROM busybox
ENTRYPOINT /bin/false

Rationale:

Rule also implemented in https://github.com/RedCoolBeans/dockerlint/blob/master/src/checks.coffee

Clone this wiki locally