QuestionQ339

Building and testing applications

You use Cloud Build to build and test application source code stored in Cloud Source Repositories. The build process needs a build tool that is unavailable in the Cloud Build environment.

What should you do?

  • A Download the binary from the internet during the build process.
  • B Build a custom cloud builder image and reference the image in your build steps.
  • C Include the binary in your Cloud Source Repositories repository and reference it in your build scripts.
  • D Ask to have the binary added to the Cloud Build environment by filing a feature request against the Cloud Build public Issue Tracker.
Explanation

Cloud Build supports custom builder images for tasks whose required capabilities or toolchains are not available in existing builder images. A custom builder packages the required binary or toolchain in a container image, which Cloud Build runs by referencing the image in a build step.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!