A self-hosted continuous delivery and deployment platform for containerized apps, with version management across Docker, Podman and Kubernetes.
GoogleContainerTools/jib
Build optimized Docker and OCI container images for Java applications with Maven or Gradle, without a Docker daemon.
Open-source alternative to:Dockerfile
- Stars
- 14,456
- Forks
- 1,482
- Open issues
- 259
- Last commit
- 4 days ago
What is it?
Jib is a container image build tool for Java applications. It runs as a plugin for Maven and Gradle, or as a Java library, and produces Docker and OCI images directly from the build without requiring a Dockerfile or a local Docker daemon. Images can be pushed to any registry.
Jib splits an application into multiple layers, separating dependencies from compiled classes, so that a code change only rebuilds and redeploys the layers that changed. Builds are reproducible: rebuilding with the same contents yields the same image. The project also provides Jib Core, a general-purpose image-building library for Java, and a command-line interface built on it.
The project includes examples for plain Java, Spring Boot, Micronaut and multi-module projects. It is also documented for use with Google Cloud Build.
Key features
- 01Builds Docker and OCI images without a Docker daemon or Dockerfile.
- 02Plugins for Maven and Gradle, plus a Java library and CLI.
- 03Splits dependencies and classes into separate layers for faster incremental builds.
- 04Produces reproducible images from identical inputs.
- 05Pushes images to any registry.
Use cases
- Containerizing Spring Boot or Micronaut services in a Maven or Gradle build.
- Building images in CI pipelines without installing Docker.
- Integrating image builds into Google Cloud Build workflows.
Topics
FAQ
- What is jib?
- Build optimized Docker and OCI container images for Java applications with Maven or Gradle, without a Docker daemon. Jib is a container image build tool for Java applications. It runs as a plugin for Maven and Gradle, or as a Java library, and produces Docker and OCI images directly from the build without requiring a Dockerfile or a local Docker daemon. Images can be pushed to any registry.
- Is jib free to use? What license does it have?
- jib is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is jib still maintained?
- Actively maintained. The last commit to jib was on Oct 16, 2026.
- What can I use jib for?
- Containerizing Spring Boot or Micronaut services in a Maven or Gradle build. Building images in CI pipelines without installing Docker. Integrating image builds into Google Cloud Build workflows.
- Where can I get jib?
- The source code and installation instructions are on GitHub: https://github.com/GoogleContainerTools/jib
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Trivy is an open-source security scanner that finds vulnerabilities, misconfigurations, secrets and SBOM data in containers, filesystems, Git repos, VM images and Kubernetes.
A Claude Code plugin bundling skills and agents that guide Claude to build Spring Boot 4.x / Java 21+ apps with best practices.
Open source system for deploying, scaling and managing containerized applications across multiple hosts.
A cloud native HTTP reverse proxy and load balancer that auto-configures routes from Docker, Kubernetes, Consul and other orchestrators.
A self-hosted, Docker-powered mini-Heroku that deploys and manages web apps on your own server from a git push.