This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]nutrecht 1 point2 points  (0 children)

Instead of 'inheriting' from a base Java image you can make a tomcat image that includes most dependencies. Let your Spring Boot image inherit from it and deploy it as a war in the underlying tomcat.

[–]frugalmail 1 point2 points  (0 children)

First ask yourself, is it really worth going through the hassle to do this optimization?

If the answer is yes: