mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:10:44 +00:00
podman: wire OPENCLAW_INSTALL_BROWSER build-arg to setup script (#63407)
* podman: wire OPENCLAW_INSTALL_BROWSER build-arg to setup script Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chore: re-trigger CI --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -63,6 +63,7 @@ Optional build/setup env vars:
|
||||
- `OPENCLAW_IMAGE` or `OPENCLAW_PODMAN_IMAGE` -- use an existing/pulled image instead of building `openclaw:local`
|
||||
- `OPENCLAW_DOCKER_APT_PACKAGES` -- install extra apt packages during image build
|
||||
- `OPENCLAW_EXTENSIONS` -- pre-install plugin dependencies at build time
|
||||
- `OPENCLAW_INSTALL_BROWSER` -- pre-install Chromium and Xvfb for browser automation (set to `1` to enable)
|
||||
|
||||
Container start:
|
||||
|
||||
|
||||
@@ -365,6 +365,9 @@ fi
|
||||
if [[ -n "${OPENCLAW_EXTENSIONS:-}" ]]; then
|
||||
BUILD_ARGS+=(--build-arg "OPENCLAW_EXTENSIONS=${OPENCLAW_EXTENSIONS}")
|
||||
fi
|
||||
if [[ -n "${OPENCLAW_INSTALL_BROWSER:-}" ]]; then
|
||||
BUILD_ARGS+=(--build-arg "OPENCLAW_INSTALL_BROWSER=${OPENCLAW_INSTALL_BROWSER}")
|
||||
fi
|
||||
|
||||
if [[ "$OPENCLAW_IMAGE" == "openclaw:local" ]]; then
|
||||
echo "Building image $OPENCLAW_IMAGE ..."
|
||||
|
||||
Reference in New Issue
Block a user