podman: wire OPENCLAW_INSTALL_BROWSER build-arg to setup script#63407
podman: wire OPENCLAW_INSTALL_BROWSER build-arg to setup script#63407urtabajev wants to merge 2 commits intoopenclaw:mainfrom
Conversation
Greptile SummaryThis PR wires the Confidence Score: 5/5Safe to merge — additive opt-in change with no impact on existing behavior. All findings are P2 or lower (none found). The implementation exactly mirrors the existing pattern for two other build-args, the Dockerfile already supports the ARG, and the guard condition correctly suppresses the flag when the env var is unset. No files require special attention.
|
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
c77aaac to
7c73781
Compare
Summary
scripts/podman/setup.sh) does not forward theOPENCLAW_INSTALL_BROWSERbuild-arg topodman build, so users cannot pre-install Chromium + Xvfb when building via Podman.OPENCLAW_INSTALL_BROWSER=1to bake Playwright browsers into the image, eliminating the 60-90s runtime install. Podman users should have the same capability. This change brings Podman setup to parity with Docker.OPENCLAW_INSTALL_BROWSERforwarding toBUILD_ARGSinscripts/podman/setup.sh, following the same pattern asOPENCLAW_DOCKER_APT_PACKAGESandOPENCLAW_EXTENSIONS. Documented it indocs/install/podman.md.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
OPENCLAW_INSTALL_BROWSERfeature for Docker)Root Cause (if applicable)
N/A
Regression Test Plan (if applicable)
N/A — this is a shell script build-arg passthrough. The underlying Dockerfile behavior is already tested by existing Docker builds with
OPENCLAW_INSTALL_BROWSER=1.User-visible / Behavior Changes
Podman users can now pre-install Chromium + Xvfb into the image at build time, matching Docker parity:
Diagram (if applicable)
N/A
Security Impact (required)
Repro + Verification
Environment
Steps
OPENCLAW_INSTALL_BROWSER=1 ./scripts/podman/setup.shpodman buildis invoked with--build-arg OPENCLAW_INSTALL_BROWSER=1Expected
Actual
Evidence
Human Verification (required)
OPENCLAW_INSTALL_BROWSERproduces no extra build-arg (guarded by-ntest).Review Conversations
Compatibility / Migration
OPENCLAW_INSTALL_BROWSER)Risks and Mitigations
None — additive change, opt-in only, follows existing pattern.