Google Container Builder is more than a Docker factory
Google has unveiled yet another tool for its Google Cloud Platform, Container Builder, which it has developed to run its own cloud infrastructure, and is described as “a stand-alone tool for building container images regardless of deployment environment.”
The tool automatically creates Docker container images from application source code stored in a Google Cloud Storage instance. The resulting images are then made available in Google Container Registry, where they can be deployed in every part of Google Cloud Platform where containers run.
But Container Builder is not only for building containers—it lets you use software in containers to drive the whole build pipeline.
Google claims a few advantages of using the Container Builder cloud architecture as a service for other items:
- Users do not have to administer their own build environment.
- The build process takes place closer to where the images will run.
- Google can offer far better scale for the dollar than most anyone could build themselves.
Tools like these do not get much traction if they are not attractive to developers, and cloud-based build tools can fall short if the build process is inflexible. Container Builder’s build process is described via a .YAML file; each step can refer to a “build step image”; a Docker image containing software that’s run at the step in question, such as Maven or Gradle; or Google’s own Bazel build tool. Google supplies a variety of official step images, but users can assemble and supply their own as needed.
Also in Container Builder’s favour, is that users are not restricted to creating Dockerfiles from scratch; existing Dockerfiles can be uploaded to the service and built there. Likewise, users can use common repository types such as GitHub or Bitbucket as code sources.
Container Builder provides 120 build-minutes per day free for customers; each minute after that costs 0.34 cents (€0.0031). The free tier comes with a asterisk warning that it’s “subject to change,” meaning it might vanish if Container Builder takes off. Also, there is no SLA for build times—in other words, there’s no guarantee from Google on how long any step will take, such as the check-in of the initial code. (Each project can also run only one build at a time.)
Containers have long been thought of as a common unit of distribution for an application. Even though it has “Container” in its name, it is clear Google is thinking about Container Builder as a service for building not only containers, but also pluggable components in a pipeline. “There’s no requirement that your build produce a container as output,” Google states in its blog post.
IDG News Service