jib

GoogleContainerToolsApache-2.0活跃维护

无需 Docker 守护进程就能把 Java 应用打包成容器镜像,提供 Maven 和 Gradle 插件,让构建流程直接接入 CI/CD。

🏗 Build container images for your Java applications.

v3.5.4-gradle发布于 2026-07-14 21:24 UTC14,453star +2 / 7 天1,481fork同步于 2026-11-10 05:27 UTC

怎么上手

README 里没有找到可直接复制的安装命令

README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。

硬件要求按 README 关键词推断
支持 Apple Silicon
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本v3.5.4-gradle
  1. v3.5.4-gradlejib-gradle-plugin v3.5.4最新正式版2026-07-14 · 2026-07-14 21:24 UTC

    Major Changes

    • Update Jackson BOM version to 2.21.1
    • Ignore unknown "artifactType" field in manifest descriptors

    See CHANGELOG.md for more details.

  2. v3.5.2-mavenjib-maven-plugin v3.5.22026-07-14 · 2026-07-14 21:23 UTC
    查看更新说明

    Major Changes

    • Update Jackson BOM version to 2.21.1
    • Ignore unknown "artifactType" field in manifest descriptors

    See CHANGELOG.md for more details.

  3. v0.28.2-corejib-core v0.28.22026-07-14 · 2026-07-14 21:23 UTC
    查看更新说明

    Major Changes

    • Update Jackson BOM version to 2.21.1
    • Ignore unknown "artifactType" field in manifest descriptors

    See CHANGELOG.md for more details.

  4. v3.5.3-gradlejib-gradle-plugin v3.5.32026-02-06 · 2026-02-06 16:00 UTC
    查看更新说明

    Major Changes

    See CHANGELOG.md for more details.

  5. v3.5.2-gradlejib-gradle-plugin v3.5.22025-12-12 · 2025-12-12 21:54 UTC
    查看更新说明

    Major Changes

    Added
    • Avoid use of StartParameter.getSettingsFile() in jibSkaffoldFilesV2 when Gradle version is 9 or higher

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

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

    Jib

    ☑️ 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).

    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.