So, I am creating a Spring Boot Application Docker Image. As I see, there is a plugin available for it which can be just invoked as a gradle task as
./gradlew