Multi Architecture OCI images Spring Boot 3.4.x
Spring Boot is the greatest of all opinionated frameworks that helps in creating JVM based full stack apps & APIs.
It provides sophisticated automation across the entire development lifecycle. It excels in all the phase of:-
➫ Development.
➫ Build & Packaging.
➫ Container Integration.
Containerization support that Spring boot offers out of the box is quite impressive indeed.
With recent Spring boot 3.4.0 release on 21st November 2024 it provides a feature to create OCI images across different platforms.
The related release note for the update is here.
if you are not a medium member, use the link here to read this post for free!
Commands to build regular OCI image using Spring Boot’s MAVEN Plugin(covering only maven here), are quite easy.
➫ To start with, it is Straight forward enough, Build an image without any custom preferences:-
mvnw clean spring-boot:build-image