An open API service indexing awesome lists of open source software.

https://github.com/ddobrin/clr-native


https://github.com/ddobrin/clr-native

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

Very basic Spring Boot project using a `CommandLineRunner` bean.

`Currently Tracked Versions`
* Spring Boot 2.4.5 - April 15, 2021
* Spring Native 0.9.2 (Spring Native Beta) - April 16, 2021
* OpenJDK version "11.0.10"
* OpenJDK 64-Bit Server VM GraalVM CE 21.0.0.2 (build 11.0.10+8-jvmci-21.0-b06, mixed mode, sharing)

To build the native application packaged in a lightweight container:
```
# JVM app image
./mvnw clean package

# Native executable
./mvwn clean package -Pnative

# JVM image
./mvnw spring-boot:build-image

# Native image
./mvnw spring-boot:build-image -Pnative
```

To run the image:
```shell
time java -jar target/clr-native-base.jar

time target/clr-native
```