Building ARM64 on Github
Getting your CI/CD pipeline right can be a daunting task. Here is one I had to address:
- Create a Quarkus Java application
- Compile it to a native executable
- Build a container for it
- Make the container available to both Linux and MacOS
The little irony, Docker on macOS or Windowsruns Linux under the hood.
The easy part - Quarkus
As I've written before it is easy to get started with Quarkus. It provides 5 ways to build containers, and detailed instructions to build a native image.
Building a native image looked daunting, with quite some prerequisites like GraalVM, CLI and C compiler. Luckily all this is available in a builder image, and a simple property settin in your pom.xml
settles it:
Read more
Posted by Stephan H Wissel on 20 November 2024 | Comments (0) | categories: Java Quarkus WebDevelopment