Extension API for Jib Gradle Plugin

Provides API to extend Jib Gradle Plugin containerization.

License

License

Categories

Categories

Gradle Build Tools
GroupId

GroupId

com.google.cloud.tools
ArtifactId

ArtifactId

jib-gradle-plugin-extension-api
Last Version

Last Version

0.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

Extension API for Jib Gradle Plugin
Provides API to extend Jib Gradle Plugin containerization.
Project URL

Project URL

https://github.com/GoogleContainerTools/jib
Source Code Management

Source Code Management

https://github.com/GoogleContainerTools/jib

Download jib-gradle-plugin-extension-api

How to add to project

<!-- https://jarcasting.com/artifacts/com.google.cloud.tools/jib-gradle-plugin-extension-api/ -->
<dependency>
    <groupId>com.google.cloud.tools</groupId>
    <artifactId>jib-gradle-plugin-extension-api</artifactId>
    <version>0.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.google.cloud.tools/jib-gradle-plugin-extension-api/
implementation 'com.google.cloud.tools:jib-gradle-plugin-extension-api:0.4.0'
// https://jarcasting.com/artifacts/com.google.cloud.tools/jib-gradle-plugin-extension-api/
implementation ("com.google.cloud.tools:jib-gradle-plugin-extension-api:0.4.0")
'com.google.cloud.tools:jib-gradle-plugin-extension-api:jar:0.4.0'
<dependency org="com.google.cloud.tools" name="jib-gradle-plugin-extension-api" rev="0.4.0">
  <artifact name="jib-gradle-plugin-extension-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.google.cloud.tools', module='jib-gradle-plugin-extension-api', version='0.4.0')
)
libraryDependencies += "com.google.cloud.tools" % "jib-gradle-plugin-extension-api" % "0.4.0"
[com.google.cloud.tools/jib-gradle-plugin-extension-api "0.4.0"]

Dependencies

compile (2)

Group / Artifact Type Version
com.google.cloud.tools : jib-build-plan jar 0.4.0
com.google.cloud.tools : jib-plugins-extension-common jar 0.2.0

Project Modules

There are no modules declared in this project.

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

Jib

Jib - Containerize your Java applications.

☑️ Jib User Survey
What do you like best about Jib? What needs to be improved? Please tell us by taking a one-minute survey. Your responses will help us understand Jib usage and allow us to serve our customers (you!) better.

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.
Jib CLI: A command-line interface for building images that uses Jib Core.

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

Examples

The examples directory includes the following examples (and more).

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.

Privacy

See the Privacy 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.

com.google.cloud.tools

Versions

Version
0.4.0
0.3.0
0.2.0
0.1.1
0.1.0