Skip to content

Document the C++ cloud build image#5213

Open
btshrewsbury-viam wants to merge 1 commit into
mainfrom
claude/cpp-cloud-build-image
Open

Document the C++ cloud build image#5213
btshrewsbury-viam wants to merge 1 commit into
mainfrom
claude/cpp-cloud-build-image

Conversation

@btshrewsbury-viam

@btshrewsbury-viam btshrewsbury-viam commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Closes #5208.

Adds a small reference note to the Cloud builds section of docs/cli/build-and-deploy-modules.md documenting the environment Viam cloud build uses to compile C++ modules, and how a developer can match it locally.

Image detail: documented conservatively (did not assert "Debian Bookworm")

The issue's premise is that C++ cloud builds run on a Debian Bookworm image. I could not confirm that exact codename from source, and one of the issue's own cited sources points the other way, so the note documents only the verifiable Debian fact:

  • The authoritative source for what cloud build actually runs is the build action's "Environment and base image" section, which deliberately does not name a Debian version: Linux builds use "the same Debian layer that builds our golang RDK" (viamrobotics/build-action README.md). That layer is the rdk-devenv image, which upstream treats as a moving target (.canon.yaml update_interval), so pinning a codename in docs would go stale and be less accurate than the source's own contract.
  • viamrobotics/viam-cpp-sdk#548 generated the cloud-build lockfile from "the macos and bookworm jobs".
  • But viamrobotics/viam-cpp-sdk#616 (merged 2026-04-20, after the 2026-04-03 announcement) is titled "fix bullseye cloud build", and the SDK is published for both Debian Bullseye and Bookworm. So a single "Bookworm" assertion is contradicted by the source.
  • The only artifact literally named "bookworm", cli/module_generate/cpp-gen/Dockerfile.debian.bookworm, is (per its README) the dev container for the stub-generator tool (cl_gen), not the module cloud-build image. This is a likely (inference, low confidence) origin of the issue's Bookworm claim.

The verified user-facing pattern is confirmed by the canonical viamrobotics/module-example-cpp example: its meta.json build setup runs make setupapt-setup.sh, installing dependencies with apt-get on a Debian environment. The note points readers there.

Placement

Additive note in the existing ## Cloud builds section. No new page, no moves/renames/URL changes.

Checks

  • prettier --write: clean (unchanged).
  • markdownlint: pass.
  • vale --minAlertLevel suggestion: no errors/warnings on the added lines (only pre-existing suggestions elsewhere on the page); RDK abbreviation resolved with a glossary tooltip.

Add a note to the cloud build section explaining that C++ modules
compile on a Debian-based Linux image (the same environment that builds
the RDK), and how to install build dependencies via the module setup
step. Closes #5208.
@netlify

netlify Bot commented Jul 15, 2026

Copy link
Copy Markdown

Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit 8ad2f27
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/6a57b0be56275c00083ef44e
😎 Deploy Preview https://deploy-preview-5213--viam-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 43 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@viambot viambot added the safe to build This pull request is marked safe to build from a trusted zone label Jul 15, 2026
@btshrewsbury-viam
btshrewsbury-viam marked this pull request as ready for review July 15, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to build This pull request is marked safe to build from a trusted zone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document the C++ cloud build image (Debian Bookworm)

2 participants