- handling-reflection
- reelection config file:
src/main/resources/META-INF/native-image/dev.itrust.sample/micronaut-sample-graal/reflect-config.json
- https://foojay.io/today/how-to-run-a-java-application-with-crac-in-a-docker-container/
- https://docs.azul.com/core/crac/crac-guidelines.html#running-crac-in-a-virtualized-environment-docker
mvn package -Dpackaging=docker-native -Pgraalvm -Dmaven.test.skip=true
./mvnw package -Dpackaging=docker-crac -Dmaven.test.skip=true
stating 337ms / 280ms first endpoint call (Micronaut lazy loading and cache initialization): 109ms next calls (no database): 9ms reading from database: 10ms
starting: 2533ms first endpoint call (Micronaut lazy loading and cache initialization): 712ms next calls (no database, cache only): 21ms / 16ms / 14 ms reading from database: 22ms