Giter Site home page Giter Site logo

dalavancloud / jib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlecontainertools/jib

1.0 3.0 0.0 9.02 MB

:sailboat: Build container images for your Java applications.

License: Apache License 2.0

Shell 1.02% Java 98.84% JavaScript 0.01% HTML 0.06% Batchfile 0.08%

jib's Introduction

stable Maven Central Gradle Plugin Portal Build Status Build Status Build Status Gitter version

Jib

Jib - Containerize your Java applications.

What is Jib?

Jib builds optimized Docker and OCI images for your Java applications without a Docker daemon - and without deep mastery of Docker best-practices. It is available as plugins for Maven and Gradle and as a Java library.

Maven: See documentation for jib-maven-plugin.
Gradle: See documentation for jib-gradle-plugin.
Jib Core: A general-purpose container-building library for Java.

For more information, check out the official blog post or watch this talk (slides).

Goals

  • Fast - Deploy your changes fast. Jib separates your application into multiple layers, splitting dependencies from classes. Now you don’t have to wait for Docker to rebuild your entire Java application - just deploy the layers that changed.

  • Reproducible - Rebuilding your container image with the same contents always generates the same image. Never trigger an unnecessary update again.

  • Daemonless - Reduce your CLI dependencies. Build your Docker image from within Maven or Gradle and push to any registry of your choice. No more writing Dockerfiles and calling docker build/push.

Quickstart

Maven

See documentation for using jib-maven-plugin.

Gradle

See documentation for using jib-gradle-plugin.

Jib Core

See documentation for using Jib Core

How Jib Works

Whereas traditionally a Java application is built as a single image layer with the application JAR, Jib's build strategy separates the Java application into multiple layers for more granular incremental builds. When you change your code, only your changes are rebuilt, not your entire application. These layers, by default, are layered on top of a distroless base image. For more information, check out the official blog post or watch this talk (slides).

See also rules_docker for a similar existing container image build tool for the Bazel build system.

Frequently Asked Questions (FAQ)

See the Frequently Asked Questions (FAQ) page.

Get involved with the community

We welcome contributions! Here's how you can contribute:

Make sure to follow the Code of Conduct when contributing so we can foster an open and welcoming community.

Analytics

jib's People

Contributors

coollog avatar tadcordle avatar chanseokoh avatar briandealwis avatar loosebazooka avatar sullis avatar cyrilleh avatar paivagustavo avatar elharo avatar glaforge avatar onecricketeer avatar aboullaite avatar anuraaga avatar dgageot avatar d5nguyenvan avatar dviejopomata avatar hpuac avatar helloworlde avatar jzheaux avatar jponge avatar mmmheeren avatar velo avatar patflynn avatar princerachit avatar sschuberth avatar sdelamo avatar conblem avatar auke- avatar bootstraponline avatar parkjam4 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.