UPDATED 13:05 EDT / JULY 09 2018

INFRA

Google debuts Jib, a tool to make software containers and Java work better together

Google LLC today released Jib, a new open-source tool that aims to make software containers and the Java programming language work more seamlessly together.

The two technologies are both mainstays of application development in the enterprise. Java has been used to write business software for decades and remains ubiquitous to this day. Software containers are a popular means of building portable applications that work across different kinds of infrastructure.

Google has created Jib to take the hassle out of packaging Java code into containers. This task is a tedious, multistage process when performed the traditional way. A developer has to install and run the Docker container engine, write a set of instructions known as a Dockerfile to define how an application should be built and then push the finished container image to a repository for safekeeping.

Jib consolidates the process into a single step. According to Google, the tool doesn’t require users to install Docker and can figure out how to build an application without needing any specially crafted instructions. Instead of a Dockerfile, the software analyzes project data from the user’s development environment.

According to Google, Jib also uses the collected information to organize software components into “layers.” When a developer updates their application, the tool only rebuilds the relevant layer instead of the entire code base to reduce build times.

“Jib takes advantage of image layering and registry caching to achieve fast, incremental builds,” explained Google engineers Appu Goundan and Qingyang Chen. “It reads your build config, organizes your application into distinct layers (dependencies, resources, classes) and only rebuilds and pushes the layers that have changed. When iterating quickly on a project, Jib can save valuable time on each build by only pushing your changed layers to the registry instead of your whole application.”

By making it easier for Java developers to use containers, Jib could help further expand the adoption of the technology in the enterprise. The tool is the latest addition to the already extensive portfolio of open-source projects that Google has built up in recent years. The company’s most well-known contribution to the container ecosystem is Kubernetes, the go-to software for managing large Docker clusters.

Image: Unsplash

Since you’re here …

… We’d like to tell you about our mission and how you can help us fulfill it. SiliconANGLE Media Inc.’s business model is based on the intrinsic value of the content, not advertising. Unlike many online publications, we don’t have a paywall or run banner advertising, because we want to keep our journalism open, without influence or the need to chase traffic.The journalism, reporting and commentary on SiliconANGLE — along with live, unscripted video from our Silicon Valley studio and globe-trotting video teams at theCUBE — take a lot of hard work, time and money. Keeping the quality high requires the support of sponsors who are aligned with our vision of ad-free journalism content.

If you like the reporting, video interviews and other ad-free content here, please take a moment to check out a sample of the video content supported by our sponsors, tweet your support, and keep coming back to SiliconANGLE.