sample spring boot application using spring native
to build a jar using normal java run
./mvnw clean packagethen to start the app run
java -jar target/spring-native-example-0.0.1-SNAPSHOT.jarTo build a native executable using graalvm run
./mvnw -Pnative clean packagethen to start the app run
./target/spring-native-exampleTo build the native image using docker run
./mvnw clean spring-boot:build-imagethen to start the app run
docker-compose up -dtools needed to build the project.
sdk install java 21.3.1.r17-grlsudo apt-get install gccsudo apt-get install libz-dev