Skip to content

docs: update Bazel public image guidance#1101

Open
Haihan-Jiang wants to merge 1 commit into
GoogleCloudPlatform:masterfrom
Haihan-Jiang:codex/cloud-builders-bazel-public-docs
Open

docs: update Bazel public image guidance#1101
Haihan-Jiang wants to merge 1 commit into
GoogleCloudPlatform:masterfrom
Haihan-Jiang:codex/cloud-builders-bazel-public-docs

Conversation

@Haihan-Jiang
Copy link
Copy Markdown

Description

Update the Bazel builder documentation to avoid pointing users at the stale gcr.io/cloud-marketplace-containers/google/bazel image.

  • Point the top-level alternatives list and Bazel README at the current Bazel public image, gcr.io/bazel-public/bazel.
  • Call out that the Bazel public image is not a direct drop-in replacement for gcr.io/cloud-builders/bazel in Cloud Build.
  • Add a Cloud Build example that sets entrypoint: bazel and a writable --output_user_root for the official image's non-root ubuntu user.
  • Note that cross-step outputs/cache should use /workspace or an explicitly writable Cloud Build volume.

Fixes #927

Tests

  • git diff --check
  • Verified the current Bazel install docs reference gcr.io/bazel-public/bazel for Docker container usage.

@Haihan-Jiang Haihan-Jiang marked this pull request as ready for review May 24, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs refer to stale bazel-provided images, new images aren't compatible with Cloud Build

1 participant