Description
This hands-on lab focuses on how to build size-optimized applications using GraalVM Native Image and how to leverage containerization to optimize the runtime environment. You are going to discover ways to minimize application footprint by taking advantage of different Native Image linking options, and packaging a size-compact application into various containers, focusing on two main strategies: Distroless and static, discussing the trade-offs.
Every step is a multistage build using the Oracle GraalVM container images for the builder and different containers for the runner.
Expected Time to Complete
75-90 mins
Intended Audience
Application Developer, DevOps Engineer
Level
Intermediate
Products/Services
Oracle GraalVM, Oracle Cloud Infrastructure, Oracle Linux
Technology
Spring Boot 3, GraalVM Native Image, Java, Docker containers
Change-log
- August 20, 2024 - Initial version
- March 27, 2025 - Last update
Acknowledgements
- Owners - Olga Gupalo, Sachin Pikle