Tetragramato / graalvm-spark-kotlin

POC based on Sparkjava, Kotlin, Gradle, Kotlin DSL, GraalVM native-image and Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graalvm-spark-kotlin

Description

Simple "Hello World" POC with :

How

Just run :

./gradlew clean build  

./gradlew docker

And after :

docker run
-p 4567:4567
--name graalvm-poc
com.tetragramato/graalvm-spark-kotlin:latest 

Finally on your navigator :

http://localhost:4567/hello

Et voilĂ  !!! You run a GraalVM native-image, with a simple service responding "Hello World".

TODO

The native-image is running in the same Docker container than GraalVM -> Need to run the native-image on another "clean" Docker Container.

About

POC based on Sparkjava, Kotlin, Gradle, Kotlin DSL, GraalVM native-image and Docker


Languages

Language:Kotlin 81.6%Language:Dockerfile 18.4%