Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 674 Bytes

native-image-readme.md

File metadata and controls

6 lines (4 loc) · 674 Bytes

You can build a native-image binary as mentioned in the http4s deployment [section] (https://github.com/drocsid/http4s/blob/docs/deployment/docs/src/main/tut/deployment.md) . You will need to follow the directions there to provide GraalVM / native-image plugin and provide a muslC bundle. Then populate the UseMuslC path with it's location.

native-image --static -H:UseMuslC="/path.to/muslC" -H:+ReportExceptionStackTraces -H:+AddAllCharsets --allow-incomplete-classpath --no-fallback --initialize-at-build-time --enable-http --enable-https --enable-all-security-services --verbose -jar "./target/scala-2.13/nytaggr-assembly-0.0.1-SNAPSHOT.jar" nytaggrBinaryImage