DevOps Classroomnotes 14/Jun/2022

Docker image building contd…

Spring petclinic

game of life

Exercise:

  • Building packages in docker:

gameoflife with multistage

  • To build game of life we need maven with java 8
  • Consider the image maven:3-openjdk-8
docker container run -it maven:3-openjdk-8 /bin/bash
  • To build the application
git clone https://github.com/wakaleo/game-of-life.git
cd game-of-life
mvn package

Springpetclinic Multistage

  • To build spring petcline we need maven with java 11
  • Consider the image maven:3-openjdk-11
docker container run -it maven:3-openjdk-11 /bin/bash
  • To build the application
git clone https://github.com/spring-projects/spring-petclinic.git
cd spring-petclinic
mvn package

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Wordpress Development Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube