Creating Container Images for Spring Boot Applications: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:


=Organizatorium=
=Organizatorium=
<font color=darkkhaki>
TO PROCESS:
* https://spring.io/guides/gs/spring-boot-docker/
* https://spring.io/guides/gs/spring-boot-docker/
* https://spring.io/blog/2020/01/27/creating-docker-images-with-spring-boot-2-3-0-m1
* https://spring.io/blog/2020/01/27/creating-docker-images-with-spring-boot-2-3-0-m1
* https://www.baeldung.com/spring-boot-docker-images
* https://www.baeldung.com/spring-boot-docker-images
* https://www.baeldung.com/dockerizing-spring-boot-application
* https://www.baeldung.com/dockerizing-spring-boot-application
</font>

Latest revision as of 05:31, 8 February 2022

External

Internal

Overview

This article describes the steps required to create a Docker container image for a Spring Bool application. It assumes that required steps from Writing a REST Service with Spring Boot have been performed already.

Spring Boot Gradle Task

A Docker image can be created with:

./gradlew bootBuildImage --imageName=ovidiufeodorov/smoke

com.palantir.docker Gradle Plugin

For more control over various elements of the container image being built, see:

com.palantir.docker Gradle Plugin

Organizatorium

TO PROCESS: