Creating Container Images for Spring Boot Applications

From NovaOrdis Knowledge Base
Revision as of 02:04, 8 February 2022 by Ovidiu (talk | contribs) (→‎Quick Test)
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.

The Quick Way Out

A Docker image can be created with:

./gradlew bootBuildImage --imageName=ovidiufeodorov/smoke

For more control over various elements of the container build, read on.

Organizatorium