https://github.com/sitewhere/sitewhere-graalvm
SiteWhere GraalVM Integration
https://github.com/sitewhere/sitewhere-graalvm
Last synced: about 9 hours ago
JSON representation
SiteWhere GraalVM Integration
- Host: GitHub
- URL: https://github.com/sitewhere/sitewhere-graalvm
- Owner: sitewhere
- Created: 2019-10-29T16:43:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-20T23:55:25.000Z (over 6 years ago)
- Last Synced: 2025-11-21T08:36:03.200Z (7 months ago)
- Language: Java
- Size: 89.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SiteWhere GraalVM Integration
This repository is for testing related to integration of SiteWhere microservices with Quarkus/GraalVM.
## Build GraalVM Docker Container
In order to build a Linux-native executable, a Docker container is used to provide the necessary
dependencies. Build the container by executing (from the `docker` folder):
```
docker build -t sitewhere/graalvm .
```
## Mount Project Folder and Build
In order to execute the build process, you local development directory needs to be mapped into
the Docker container as a volume. Execute the following (you will need to adjust the local path
in the volume mount to match your local folder structure):
```
docker run -it -v C:\YourGitHubPath\GitHub\sitewhere-graalvm:/home/sitewhere sitewhere/graalvm
```
## Build Enhanced JAR and Native Executable
After running the container, change to the `/home/sitewhere` folder to access the project
contents. Build the enhanced JAR by running:
```
./gradlew clean build
```
Build the native executable by executing:
```
./gradlew buildNative
```