Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/praveengnair/springboot-jib
Dockerizing Spring boot app with Google Jib.
https://github.com/praveengnair/springboot-jib
Last synced: about 1 month ago
JSON representation
Dockerizing Spring boot app with Google Jib.
- Host: GitHub
- URL: https://github.com/praveengnair/springboot-jib
- Owner: PraveenGNair
- Created: 2020-06-14T04:46:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-19T04:35:31.000Z (over 3 years ago)
- Last Synced: 2024-10-12T08:27:44.667Z (2 months ago)
- Language: Java
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring boot Jib Example
## Overview
>A sample spring boot rest service with docker packaging using [Jib](https://github.com/GoogleContainerTools/jib/) maven plugin.>[Project Jib](https://cloud.google.com/blog/products/gcp/introducing-jib-build-java-docker-images-better) is an open-source Java containerizer from Google that lets Java developers build containers using the Java tools they know.
>The detailed blog and instructions of using the project is described in [blog](https://medium.com/@prgnr173/containerize-your-spring-boot-app-with-jib-plugin-50127d99a22f?sk=f48f1c31816cacdcd3c47c2e1d0e9bbc).## Run Command
* Clean compile and Build`$ mvn clean compile jib:dockerBuild`
* Compile and push image
`$ mvn compile jib:build -Djib.to.auth.username= -Djib.to.auth.password=`
## Result
See the logs and you can find the containerizing steps and image gets pushed to the defined registry.