Skip to content

CapgeminiNorway/learnmake-microservices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservices using Spring Boot and JIB

Learn-Make Microservices using Spring Boot, JIB, Docker

LEARN & MAKE

Reading

Some useful links to advance your learning:

Setup your DEV env

Getting up and running for your dev-env is as easy as counting 1 to 4 :-)

  1. Make sure you have installed Java 8 version 8, Maven version 3.3.1 or higher.

  2. Clone this repo and verify compile

    git clone https://github.com/CapgeminiNorway/learnmake-microservices  
    cd path/to/learnmake-microservices  
    mvn clean compile  
    
  3. Build, containerize & push to docker repository

    • Build and push a container image for your application to a container registry.
      nb! make sure you already have created a project at Google Cloud Platform, then set docker.image.prefix inside pom.xml
    mvn clean compile jib:build -e
    

    If you encounter authentication issues, see Authentication Methods.

    To build to a Docker daemon, use:

    mvn clean compile jib:dockerBuild -e
    

    ...

  4. Run inside Eclipse or Intellij IDEA
    Import as standard Maven project.

Together We DO!

Please contribute with comments, pull-requests, etc.