Skip to content

Dockerized spring boot application that makes use of fabric8 docker-maven-plugin to build & push docker image

Notifications You must be signed in to change notification settings

piyusht007/sample-docker-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sample-docker-app

A sample spring boot application which uses docker-maven-plugin (from fabric8) to build and push its docker image.

This application executes following phases as part of maven verify:

Application build lifecycle

Note: This application currently uses docker hub as docker registry. We can also use private registries such as AWS ECR to push docker images.

To use AWS ECR, make following changes in the pom.xml:

  1. Add a registry tag, such as : <registry>12345678.dkr.ecr.eu-west-1.amazonaws.com</registry> inside the configuration tag of docker-maven-plugin
  2. Change the name tag value inside the configuration tag to: <name>12345678.dkr.ecr.eu-west-1.amazonaws.com/sample-docker-app:${project.version}</name>

About

Dockerized spring boot application that makes use of fabric8 docker-maven-plugin to build & push docker image

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published