[GraalVM](https://www.graalvm.org/java/) might be very useful to discard any unneeded dependency from the Docker image built. More information can be retrieved from [this DEVOXX talk](https://youtu.be/6wYrAtngIVo).