MCPcopy Create free account
hub / github.com/GoogleContainerTools/jib

github.com/GoogleContainerTools/jib @v3.5.3-gradle

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.5.3-gradle ↗ · + Follow
4,830 symbols 25,649 edges 601 files ⚖ Apache-2.0 1,463 documented · 30% 2 cross-repo links updated 34d agov3.5.4-gradle · 2026-07-14★ 14,438187 open issues

Browse by type

Functions 4,110 Types & classes 720
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

stable Maven Central Gradle Plugin Portal Build Status Build Status Build Status SLSA 3 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.

Jib works well with Google Cloud Build. For details, see how to use Jib on Google Cloud Build.

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). * helloworld * Spring Boot * Micronaut * Multi-module project * Spark Java using Java Agent

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 an OpenJDK base image, but you can also configure a custom 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.

Need Help?

A lot of questions are already answered!

For usage questions, please ask them on Stack Overflow.

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.

Disclaimer

This is not an officially supported Google product.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 4,110
Class 659
Interface 46
Enum 15

Languages

Java100%

Modules by API surface

jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/JibPluginConfiguration.java92 symbols
jib-plugins-common/src/test/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessorTest.java81 symbols
jib-maven-plugin/src/test/java/com/google/cloud/tools/jib/maven/MavenProjectPropertiesTest.java70 symbols
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/RawConfiguration.java52 symbols
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/BuildContext.java45 symbols
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ContainerConfigurationTemplate.java42 symbols
jib-maven-plugin/src/integration-test/java/com/google/cloud/tools/jib/maven/BuildImageMojoIntegrationTest.java41 symbols
jib-cli/src/test/java/com/google/cloud/tools/jib/cli/JarTest.java41 symbols
jib-maven-plugin/src/test/java/com/google/cloud/tools/jib/maven/MavenProjectPropertiesExtensionTest.java39 symbols
jib-core/src/test/java/com/google/cloud/tools/jib/registry/RegistryEndpointCallerTest.java39 symbols
jib-cli/src/test/java/com/google/cloud/tools/jib/cli/WarTest.java39 symbols
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/ContainerBuildPlan.java39 symbols

Dependencies from manifests, versioned

com.google.cloud.tools:tiny-test-lib0.0.1-SNAPSHOT · 1×
com.google.guava:guava32.0.0-jre · 1×
com.jib.test:lib1.0.0.TEST-SNAPSHOT · 1×
com.sparkjava:spark-core2.9.1 · 1×
com.test:dependency1.0.0 · 1×
de.thomaskrille:dropwizard-template-config
io.dropwizard:dropwizard-bom
io.dropwizard:dropwizard-core
jakarta.servlet:jakarta.servlet-api5.0.0 · 1×
junit:junit4.13.1 · 1×
org.slf4j:slf4j-simple1.7.28 · 1×

For agents

$ claude mcp add jib \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page