Spring Boot 2.3 introduced support for building optimized Docker images using the Spring Boot maven/gradle plugin. The spring-boot:build-image goal does a bunch of things:
- Create the layers index
- Invoke the Paketo buildpack
- Build the OCI image
- etc.
Is there a way to replicate these steps for modules using an older Spring Boot version? Even better, can these steps be integrated directly into a maven/gradle build?