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.
-
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 -
App JAR: Use GraalVM JDK to build the app JAR on local
GraalVM Enterprise GraalVM Community Build app JAR Build app JAR -
OCI DevOps
-
5.2: Store your GitHub PAT, OCR user and OCR password in the OCI Vault
-
5.3: Create a new DevOps Project and External Connection to your GitHub Account
-
5.4: Use DevOps Build Pipelines to build the app native executable
GraalVM Enterprise GraalVM Community Build app native executable Build app native executable -
5.5: OKE - Manually deploy the app native executable on OKE and test it
GraalVM Enterprise GraalVM Community Deploy app native executable -- -
5.6: Use DevOps Deployment Pipelines to deploy the app native executable on OKE
GraalVM Enterprise GraalVM Community Deploy app native executable -- -
5.7: Use DevOps Build Pipelines to build the app JAR
GraalVM Enterprise GraalVM Community Build app JAR --