Paul Krill
Editor at Large

Google Java container tech gets extension framework

news
Aug 24, 20202 mins

Google’s Jib allows developers to optimize the creation of Docker containers for Java apps, and tweak the process by customizing plug-ins for Maven and Gradle

open box / abstract code / open-source code
Credit: CustomDesigner / Bagotaj / Getty Images

Google has extended its Jib containerization technology for Java applications with the Jib Plugin Extension Framework, enabling customization of the Jib plug-ins for the Maven and Gradle build systems.

Available on GitHub and featuring a variety of extensions, the framework allows developers to tailor Jib to their liking. They could, for example, write an extension adding custom image layers whose contents come from a ZIP file. Developers also could plug in an extension written by someone else and apply it to their own project. Developers could tweak every aspect of an image they want to build.

The Jib containerization framework was first released in June and is powered by the Container Build Plan Specification, a tool-agnostic mechanism to describe how to build a Docker or OCI container image. Google cited possibilities for the framework including:

  • Fine-tuning image layers.
  • Containerizing GraalVM native images for fast startup.
  • Containerizing jlink images for a small footprint.

Google also detailed improved application framework support for Jib, having recently released Maven and Gradle Jib extensions for Spring Boot and Quarkus and a Maven extension for GraalVM.

Jib builds Docker and OCI images for Java applications without a Docker daemon or the need to master Docker best practices. Jib is available as a plug-in for Maven or Gradle and as a Java library. Google says Jib can turn any Java app into a space-efficient, optimized container image. Images are built in a declarative manner and there is no need to install Docker or write script-like Dockerfiles.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author