Skip to main content

Documentation Index

Fetch the complete documentation index at: https://tally.wharflab.com/llms.txt

Use this file to discover all available pages before exploring further.

Multiple ENTRYPOINT instructions found.
Superseded by buildkit/MultipleInstructionsDisallowed, which covers duplicate CMD, ENTRYPOINT, and HEALTHCHECK instructions with auto-fix support.

Description

If more than one ENTRYPOINT instruction is listed, only the last one takes effect.

Examples

Problematic code

FROM alpine
ENTRYPOINT ["echo", "first"]
ENTRYPOINT ["echo", "second"]

Correct code

FROM alpine
ENTRYPOINT ["echo", "second"]

Reference