Creating Container Images for Spring Boot Applications

From NovaOrdis Knowledge Base
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:

com.palantir.docker Gradle Plugin

Organizatorium

TO PROCESS: