Closed desert-dev closed 2 months ago
you could add --strip-debug --no-header-files --no-man-pages
to get even smaller
you could add
--strip-debug --no-header-files --no-man-pages
to get even smaller
Thanks! Added this as well
Alpine has a few quirks that affects a lot of aspects during runtime and performance wise, which can bite you later. Perhaps we should add that as a friendly warning? We could also consider adding a section for [distroless image](https://github.com/GoogleContainerTools/distroless/tree/main/java} instructions, which is a good alternative and middleground :)
Thanks @desert-dev !
Instead of adding this to the readme, could you add it to https://javalin.io/tutorials/docker (https://github.com/javalin/javalin.github.io/blob/master/_posts/tutorials/2022-10-30-javalin-docker-example.md) - you can then add a small Docker section in the readme which links to the tutorial? :)
Please make sure to also check #2256
For issue https://github.com/javalin/javalin/issues/2253