Creating Container Images for Spring Boot Applications
Jump to navigation
Jump to search
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:
Organizatorium
TO PROCESS:
- 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://www.baeldung.com/spring-boot-docker-images
- https://www.baeldung.com/dockerizing-spring-boot-application