[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4016":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":38,"readmeContent":39,"aiSummary":40,"trendingCount":16,"starSnapshotCount":16,"syncStatus":41,"lastSyncTime":42,"discoverSource":43},4016,"jib","GoogleContainerTools\u002Fjib","GoogleContainerTools","🏗 Build container images for your Java applications.","",null,"Java",14409,1469,316,183,0,3,6,24,10,80.9,"Apache License 2.0",false,"master",true,[27,28,29,30,31,32,5,33,34,35,36,37],"containers","docker","docker-registry","gradle","gradle-plugin","java","kubernetes","maven","maven-plugin","microservices","oci","2026-06-12 04:00:20","![stable](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fstability-stable-brightgreen.svg)\n[![Maven Central](https:\u002F\u002Fimg.shields.io\u002Fmaven-central\u002Fv\u002Fcom.google.cloud.tools\u002Fjib-maven-plugin)](https:\u002F\u002Fmaven-badges.herokuapp.com\u002Fmaven-central\u002Fcom.google.cloud.tools\u002Fjib-maven-plugin)\n[![Gradle Plugin Portal](https:\u002F\u002Fimg.shields.io\u002Fmaven-metadata\u002Fv\u002Fhttps\u002Fplugins.gradle.org\u002Fm2\u002Fcom\u002Fgoogle\u002Fcloud\u002Ftools\u002Fjib\u002Fcom.google.cloud.tools.jib.gradle.plugin\u002Fmaven-metadata.xml.svg?colorB=007ec6&label=gradle)](https:\u002F\u002Fplugins.gradle.org\u002Fplugin\u002Fcom.google.cloud.tools.jib)\n![Build Status](https:\u002F\u002Fstorage.googleapis.com\u002Fcloud-tools-for-java-kokoro-build-badges\u002Fjib-ubuntu-master-orb.svg)\n![Build Status](https:\u002F\u002Fstorage.googleapis.com\u002Fcloud-tools-for-java-kokoro-build-badges\u002Fjib-windows-master-orb.svg)\n![Build Status](https:\u002F\u002Fstorage.googleapis.com\u002Fcloud-tools-for-java-kokoro-build-badges\u002Fjib-macos-master-orb.svg)\n[![SLSA 3](https:\u002F\u002Fslsa.dev\u002Fimages\u002Fgh-badge-level3.svg)](https:\u002F\u002Fslsa.dev)\n[![Gitter version](https:\u002F\u002Fimg.shields.io\u002Fgitter\u002Froom\u002FgitterHQ\u002Fgitter.svg)](https:\u002F\u002Fgitter.im\u002Fgoogle\u002Fjib)\n\n# Jib\n\n\u003Cimage src=\"https:\u002F\u002Fgithub.com\u002FGoogleContainerTools\u002Fjib\u002Fraw\u002Fmaster\u002Flogo\u002Fjib-build-docker-java-container-image.png\" alt=\"Jib - Containerize your Java applications.\" width=\"650px\" \u002F>\n\n| ☑️  Jib User Survey |\n| :----- |\n| What do you like best about Jib? What needs to be improved? Please tell us by taking a [one-minute survey](https:\u002F\u002Fforms.gle\u002FYRFeamGj51xmgnx28). Your responses will help us understand Jib usage and allow us to serve our customers (you!) better. |\n\n## What is Jib?\n\nJib builds optimized Docker and [OCI](https:\u002F\u002Fgithub.com\u002Fopencontainers\u002Fimage-spec) images for your Java applications without a Docker daemon - and without deep mastery of Docker best-practices. It is available as plugins for [Maven](jib-maven-plugin) and [Gradle](jib-gradle-plugin) and as a Java library.\n\n- [Maven](https:\u002F\u002Fmaven.apache.org\u002F): See documentation for [jib-maven-plugin](jib-maven-plugin).\n- [Gradle](https:\u002F\u002Fgradle.org\u002F): See documentation for [jib-gradle-plugin](jib-gradle-plugin).\n- [Jib Core](jib-core): A general-purpose container-building library for Java.\n- [Jib CLI](jib-cli): A command-line interface for building images that uses Jib Core.\n\nJib works well with Google Cloud Build. For details, see [how to use Jib on Google Cloud Build](docs\u002Fgoogle-cloud-build.md).\n\nFor more information, check out the [official blog post](https:\u002F\u002Fcloudplatform.googleblog.com\u002F2018\u002F07\u002Fintroducing-jib-build-java-docker-images-better.html) or watch [this talk](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=H6gR_Cv4yWI) ([slides](https:\u002F\u002Fspeakerdeck.com\u002Fcoollog\u002Fbuild-containers-faster-with-jib-a-google-image-build-tool-for-java-applications)).\n\n## Goals\n\n* **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.\n\n* **Reproducible** - Rebuilding your container image with the same contents always generates the same image. Never trigger an unnecessary update again.\n\n* **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\u002Fpush.*\n\n## Quickstart\n\n* **Maven** - See the jib-maven-plugin [Quickstart](jib-maven-plugin#quickstart).\n\n* **Gradle** - See the jib-gradle-plugin [Quickstart](jib-gradle-plugin#quickstart).\n\n* **Jib Core** - See the Jib Core [Quickstart](jib-core#adding-jib-core-to-your-build).\n\n* **Jib CLI** - See the Jib CLI [doc](jib-cli).\n\n## Examples\n\nThe [examples](examples) directory includes the following examples (and more).\n   * [helloworld](examples\u002Fhelloworld)\n   * [Spring Boot](examples\u002Fspring-boot)\n   * [Micronaut](examples\u002Fmicronaut)\n   * [Multi-module project](examples\u002Fmulti-module)\n   * [Spark Java using Java Agent](examples\u002Fjava-agent)\n\n## How Jib Works\n\nWhereas 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](docs\u002Fdefault_base_image.md), but you can also configure a custom base image. For more information, check out the [official blog post](https:\u002F\u002Fcloudplatform.googleblog.com\u002F2018\u002F07\u002Fintroducing-jib-build-java-docker-images-better.html) or watch [this talk](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=H6gR_Cv4yWI) ([slides](https:\u002F\u002Fspeakerdeck.com\u002Fcoollog\u002Fbuild-containers-faster-with-jib-a-google-image-build-tool-for-java-applications)).\n\nSee also [rules_docker](https:\u002F\u002Fgithub.com\u002Fbazelbuild\u002Frules_docker) for a similar existing container image build tool for the [Bazel build system](https:\u002F\u002Fgithub.com\u002Fbazelbuild\u002Fbazel).\n\n## Need Help?\n\nA lot of questions are already answered!\n\n* [Frequently Asked Questions (FAQ)](docs\u002Ffaq.md)\n* [Stack Overflow](https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002Ftagged\u002Fjib)\n* [GitHub issues](https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002Ftagged\u002Fjib)\n\n_For usage questions, please ask them on Stack Overflow._\n\n## Privacy\n\nSee the [Privacy page](docs\u002Fprivacy.md).\n\n## Get involved with the community\n\nWe welcome contributions! Here's how you can contribute:\n\n* [Browse issues](https:\u002F\u002Fgithub.com\u002FGoogleContainerTools\u002Fjib\u002Fissues) or [file an issue](https:\u002F\u002Fgithub.com\u002FGoogleContainerTools\u002Fjib\u002Fissues\u002Fnew)\n* Chat with us on [gitter](https:\u002F\u002Fgitter.im\u002Fgoogle\u002Fjib)\n* Join the [jib-users mailing list](https:\u002F\u002Fgroups.google.com\u002Fforum\u002F#!forum\u002Fjib-users)\n* Contribute:\n  * *Read the [contributing guide](https:\u002F\u002Fgithub.com\u002FGoogleContainerTools\u002Fjib\u002Fblob\u002Fmaster\u002FCONTRIBUTING.md) before starting work on an issue*\n  * Try to fix [good first issues](https:\u002F\u002Fgithub.com\u002FGoogleContainerTools\u002Fjib\u002Flabels\u002Fgood%20first%20issue)\n  * Help out on [issues that need help](https:\u002F\u002Fgithub.com\u002FGoogleContainerTools\u002Fjib\u002Flabels\u002Fkind%2Fquestion)\n  * Join in on [discussion issues](https:\u002F\u002Fgithub.com\u002FGoogleContainerTools\u002Fjib\u002Flabels\u002Fdiscuss)\n\u003C!--  * Read the [style guide] -->\n*Make sure to follow the [Code of Conduct](https:\u002F\u002Fgithub.com\u002FGoogleContainerTools\u002Fjib\u002Fblob\u002Fmaster\u002FCODE_OF_CONDUCT.md) when contributing so we can foster an open and welcoming community.*\n\n## Disclaimer\n\nThis is not an officially supported Google product.\n","Jib 是一个用于构建 Java 应用程序容器镜像的工具。它通过 Maven 和 Gradle 插件的形式提供，支持 Docker 和 OCI 标准，无需 Docker 守护进程即可生成优化后的容器镜像，简化了容器化过程。Jib 会将应用拆分为多个层（如依赖和类文件），从而在仅更改部分代码时实现快速重建，显著提高了开发效率。此外，Jib 支持 Google Cloud Build，适用于需要高效构建、部署Java 微服务或任何希望简化其 CI\u002FCD 流程的场景。",2,"2026-06-11 02:57:56","top_language"]