From c69d047f3c7f825d548a85831ebaff421fad4ea6 Mon Sep 17 00:00:00 2001 From: alvis Date: Thu, 16 Jul 2026 14:40:12 +0000 Subject: [PATCH] Dockerfile: install chromium for the OpenClaw browser plugin The node:24-bookworm-slim runtime ships no browser, so the `browser` plugin fails with "No supported browser found". Add Debian's real `chromium` (not snap) to the runtime apt layer; its shared libs (libnss3, libgbm1, ...) come in as Depends. Adolf fork addition for authenticated web access. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_014t8Qg9gi7H7HtT8MncoXAB --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 30318e8b..62cc7587 100644 --- a/Dockerfile +++ b/Dockerfile @@ -191,8 +191,12 @@ RUN --mount=type=cache,id=openclaw-bookworm-apt-cache,target=/var/cache/apt,shar --mount=type=cache,id=openclaw-bookworm-apt-lists,target=/var/lib/apt,sharing=locked \ apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - ca-certificates curl git hostname lsof openssl procps python3 tini && \ + ca-certificates chromium curl git hostname lsof openssl procps python3 tini && \ update-ca-certificates +# chromium (Debian's real package, not snap) added for the OpenClaw `browser` +# plugin — it resolves a system Chrome/Chromium to drive via CDP, and the +# node:*-slim base ships none. Its shared libs (libnss3, libgbm1, ...) come in +# as chromium's Depends. Adolf fork addition (kb#64: authenticated web access). RUN chown node:node /app