Docker

Docker

Made by DeepSource

Multiple ENTRYPOINT instructions detected DOK-DL4004

Bug risk
Major

If you list more than one ENTRYPOINT then only the last ENTRYPOINT command will be setup, making prior ENTRYPOINT setups redundant.

Bad Practice

FROM debian:buster
ENTRYPOINT /bin/true
ENTRYPOINT /bin/false

Recommended

FROM debian:buster
ENTRYPOINT /bin/false