Closed
Description
It's not the best to run Spring Boot as JAR applications directly. However, the documentation is inconsistent in this message and depends on what page you land from a web search. I think it could be improved.
- Dockerfiles is fine imo.
- Cloud Native Buildpacks is vague is the improvements it provides, someone unfamiliar with the other page may assume that when the text says "Dockerfiles are just one way to build docker images", it means any Dockerfile is fine. No need to include all, but something could be added from the Dockerfiles page.
- Packaging Your Application for Production says
Executable jars can be used for production deployment
which I think should be removed and the doc could include some info about how to extract the JAR. Also Running Your Application could get some disclaimers also.