Skip to content

Using GraalVM Enterprise container images (native-image and jdk) to build and run a Spring application (Kris' Jabberwocky app) on local as well as in OCI DevOps service. Thank you Kris Foster!

License

Notifications You must be signed in to change notification settings

sachin-pikle/graal-containers

 
 

Repository files navigation

Graal Containers

Introduction

Credits: @krisfoster https://github.com/krisfoster/graal-containers

This repo will walk you through building containerised apps with GraalVM JDK and Native Image.

We will be using a Spring Boot application as our test-bed. This is a fairly simple app that generates a nonsense verse, in the style of the poem Jabberwocky (by Lewis Carrol). To do this remarkable feat it uses a Markov chain to model the text of the original poem and this model is then used to generate random text that appear to be like the original.

Table of contents

  1. GraalVM Enterprise container images

  2. App Native Executable: Use GraalVM native-image to build the app native executable on local

    GraalVM Enterprise GraalVM Community
    Build app native executable Build app native executable
  3. App JAR: Use GraalVM JDK to build the app JAR on local

    GraalVM Enterprise GraalVM Community
    Build app JAR Build app JAR
  4. Clean up

  5. OCI DevOps

About

Using GraalVM Enterprise container images (native-image and jdk) to build and run a Spring application (Kris' Jabberwocky app) on local as well as in OCI DevOps service. Thank you Kris Foster!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 79.7%
  • Java 20.3%