jib VS Bazel

Compare jib vs Bazel and see what are their differences.

jib

🏗 Build container images for your Java applications. (by GoogleContainerTools)

Bazel

a fast, scalable, multi-language and extensible build system (by bazelbuild)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
jib Bazel
46 135
13,321 22,175
0.9% 1.0%
8.0 10.0
6 days ago 6 days ago
Java Java
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

jib

Posts with mentions or reviews of jib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-15.
  • Nix is a better Docker image builder than Docker's image builder
    21 projects | news.ycombinator.com | 15 Mar 2024
    Having the author do this for a service written in Go is a mistake. Your first address for containerizing Go services should be ko: https://ko.build/ , and similar solutions like Jib in the Java ecosystem: https://github.com/GoogleContainerTools/jib . No need to require everyone to install something heavy like Nix, no need for privileged containers in CI to connect to a Docker daemon so that actual commands can be executed to determine filesystem contents, just the absolute bare minimum of a manifest defining a base layer + the compiled artifacts copied into the tarball at the correct positions. More languages should support this kind of model - when you see that pnpm's recipe (https://pnpm.io/docker), ultimately, is to pick a pre-existing node base image, then copy artifacts in and set some manifest settings, there's really no technical reason why something like "pnpm build-container-image", without a dependency on a Docker daemon, hasn't been implemented yet.

    Using nix, or Dockerfile, or similar systems are, today, fundamentally additional complications to support building containerized systems that are not pure Go or pure Java etc. So we should stop recommending them as the default.

    21 projects | news.ycombinator.com | 15 Mar 2024
  • Deploy Secure Spring Boot Microservices on Amazon EKS Using Terraform and Kubernetes
    13 projects | dev.to | 23 Nov 2023
    You need to build Docker images for each app. This is specific to the JHipster application used in this tutorial which uses Jib to build the images. Make sure you are logged into Docker using docker login. Navigate to each app folder (store, invoice, product) and run the following command:
  • Tool to build Docker images
    5 projects | /r/devops | 26 May 2023
    JIB
  • Thin (ish) Clojure jars for better docker containers
    3 projects | /r/Clojure | 23 May 2023
    It is pretty easy to do with https://github.com/GoogleContainerTools/jib.
  • Fearless Distroless
    3 projects | dev.to | 20 Apr 2023
    I first learned about Distroless because it was the default option in Google's Jib. Jib is a Maven plugin to create Docker containers without dependency on Docker. Note that the default has changed now.
  • Spring Boot pod takes 60 seconds to become ready; trouble handling spiky workloads
    2 projects | /r/devops | 6 Apr 2023
    Optimize your Dockerfile by using a small base Java Image, use either Spring Boot's layers tools or Google Jib to build your docker file, and increase CPU/Memory requests and limits if you can.
  • CI/CD with Spring Boot and Jenkins Pipelines
    6 projects | dev.to | 28 Mar 2023
    In this section, we will setup the automated generation and deployment of a Docker container image. You will need a Docker Hub account and the Jib Gradle Plugin.
  • How to Deploy JHipster Microservices on Amazon EKS Using Terraform and Kubernetes
    10 projects | dev.to | 5 Jul 2022
    You need to build Docker images for each app. This is specific to the JHipster application used in this tutorial which uses Jib to build the images. Make sure you are logged into Docker using docker login. Navigate to each app folder (store, invoice, product) and run the following command:
  • Cloud Native Java Microservices with JHipster and Istio
    18 projects | dev.to | 28 Jun 2022
    We are ready to deploy now. First, we need to build and push the images to the registry. We can use the handy Jib commands provided by JHipster. Navigate to each of the microservice folders and run the commands below.

Bazel

Posts with mentions or reviews of Bazel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-18.

What are some alternatives?

When comparing jib and Bazel you can also consider the following projects:

Buck - A fast build system that encourages the creation of small, reusable modules over a variety of platforms and languages.

kaniko - Build Container Images In Kubernetes

nx - Smart Monorepos · Fast CI

meson - The Meson Build System

Gradle - Adaptable, fast automation for all

jkube - Build and Deploy java applications on Kubernetes

ninja - a small build system with a focus on speed

turborepo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turborepo and Turbopack. [Moved to: https://github.com/vercel/turbo]

Apache Maven - Apache Maven core

mediapipe - Cross-platform, customizable ML solutions for live and streaming media.

pants - The Pants Build System

buildkit - concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit