Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Yes, you are right. jlink does not work with automatic modules. But using that plugin https://github.com/moditect/moditect you can easily transform almost any java library into a named module. It is a shame there are libraries under development, that have not been adapted to the java modular system.
For docker images, try to use google's "jib" project to build your docker images, because it makes the best use of the docker layered file system. You can use a "Dockerfile", but basically you will be moving your libraries around every time because they won't get pushed to a "lower" layer in the layered file system. https://github.com/GoogleContainerTools/jib
Related posts
- Thin (ish) Clojure jars for better docker containers
- Trying to spin up a Ktor app using docker containers. I keep getting "no main manifest attribute, in app.jar"
- Razvijanje mikroservisa na lokalnoj mrezi
- Spring Boot pod takes 60 seconds to become ready; trouble handling spiky workloads
- What is Docker All About and How to Deploy Spring Boot Application In Docker?