feat(crawler): system Chromium via CRAWLER_CHROMIUM_BINARY (0.45.0) #2
Reference in New Issue
Block a user
Delete Branch "feat/crawler-system-chromium"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements the verified Chromium-on-ARM plan:
CRAWLER_CHROMIUM_BINARYmakes the crawler launcher skip chromiumoxide's fetcher (no usable Linux_arm64 build) and use a system Chromium; anINSTALL_CHROMIUMbuild-arg adds Debian'schromium-headless-shell+fonts-liberationto the runtime image.Reviewed & approved:
browser.rs: pure, unit-tested resolver; treats exported-but-empty as unset (handles compose${VAR:-}); falls back to the fetcher when unset. 3 tests.chromium-headless-shellbinary verified in Phase 0 (CDP handshake confirmed on the Pi).Includes a merge of
mainto pick up #1's build fixes (trixie runtime, crawler-bin stub, IPv4 frontend healthcheck) + the no-SSH deploy job. The mergedbackend/Dockerfilecorrectly combines the trixie runtime with the chromium install.Note: CI
build-and-pushdoesn't passINSTALL_CHROMIUM=true, so the shipped image stays slim — fine while the crawler is off (CRAWLER_DAEMON=false); building the Pi image with chromium needs that build-arg.🤖 Generated with Claude Code