Return meaningful error for meaningless Dockerfiles