Instruction keywords should use consistent casing throughout the Dockerfile.
--fix
From alpine Run echo hello > /greeting.txt EntRYpOiNT ["cat", "/greeting.txt"]
FROM alpine RUN echo hello > /greeting.txt ENTRYPOINT ["cat", "/greeting.txt"]
from alpine run echo hello > /greeting.txt entrypoint ["cat", "/greeting.txt"]
# Before (majority is uppercase) FROM alpine run echo hello # After (with --fix) FROM alpine RUN echo hello
Was this page helpful?