Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 757 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 757 Bytes

Spring boot Buildpack Docker Example

Overview

A sample spring boot rest service with docker packaging using springboot maven plugin.

Spring boot with its 2.3.0.M1 release onwards have introduced capability to build docker images using buildpacks. The detailed blog and instructions of using the project is described in blog.

Run Command

  • Clean compile

$ mvn clean compile

  • Build image

$ mvn spring-boot:build-image

Result

See the logs and you can find the containerizing steps and image gets pushed to the defined registry.