Cloud builders are containers with common languages and tools installed in them. You can use the builders to execute your tasks by including them in build steps.
This page describes the types of builders available to you.
Supported builder images provided by Container Builder
Container Builder provides and maintains pre-built images of builders that you can reference in your build steps to execute your tasks. You can find these pre-built images at:
The source code for these builders is available in the cloud builders GitHub repository.
The following table lists some examples of supported builder images:
|The complete list of supported builders for Container Builder.|
The Container Builder developer community provides open-source builders that you can use to execute your tasks. Pre-built images are not available for these builders; to use these builders, download the source code from the cloud builders community GitHub repository and then build the image.
The following table lists some examples of community-contributed builders:
||Runs integration tests on docker images.|
||Executes your build step on a configurable Compute Engine VM.|
||Automates the creation of machine images using Packer|
||Manages Kubernetes packages using Helm.|
|The complete list of community-contributed builders for Container Builder.|
For information on contributing a builder, see the cloud builders community GitHub page.
Publicly available container images
Container Builder allows you to use any publicly available container image in a build step.
For example, the following code snippet shows how to add a build step using the ubuntu image from Docker Hub:
steps: - name: 'ubuntu' ...
Here's another example code snippet that adds a build step using the container image for Black Duck open source scanner for Container Builder from Google Cloud Platform Console Launcher:
steps: - name: launcher.gcr.io/blackduck-public/blackducksoftware-containerbuilder-scanner ...
Writing your own custom builder
You can create your own custom builder for use in your builds. A custom builder is a container image that the Container Builder pulls and runs with your source. Your custom builder can execute any script or binary inside the container; as such it can do anything a container can do. For instructions on creating a custom builder, see Creating custom build steps.