loicdescotte / docker-graalvm-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker + GraalVM native-image

  1. create locally the graalvm-native-image container using graalvm-native-image/build.sh. This container will be used to build the native image.
  2. run sbt
  3. run in sbt: dockerGraalvmNative: this will generate the docker-graalvm-native-test container
  4. run in sbt: docker:publishLocal: this will generate the docker-test continer
  5. run in shell: time docker run --rm docker-graalvm-native-test
  6. run in shell: time docker run --rm docker-test and compare the timing
  7. run docker images | grep docker- and compare the image size

About


Languages

Language:Scala 93.8%Language:Dockerfile 5.0%Language:Shell 1.2%