File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,6 +40,29 @@ RUN ARCH=$(echo ${TARGETARCH:-$(dpkg --print-architecture)} | sed 's|arm64|aarch
4040
4141RUN node -v && npm -v
4242
43+ # Install Homebrew (Linuxbrew) for OpenClaw skill dependencies
44+ # Homebrew is required for installing CLI tools like gemini, aider, etc.
45+ ENV HOMEBREW_NO_AUTO_UPDATE=1 \
46+ HOMEBREW_NO_INSTALL_CLEANUP=1 \
47+ HOMEBREW_NO_ANALYTICS=1
48+
49+ RUN useradd -m -s /bin/bash linuxbrew \
50+ && mkdir -p /home/linuxbrew/.linuxbrew \
51+ && chown -R linuxbrew:linuxbrew /home/linuxbrew
52+
53+ USER linuxbrew
54+ RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
55+ USER root
56+
57+ # Add Homebrew to PATH for all users
58+ ENV PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:${PATH}"
59+
60+ # Verify brew is available and install gcc (needed for compiling some brew packages)
61+ # Must run as linuxbrew user - Homebrew refuses to run as root
62+ USER linuxbrew
63+ RUN brew --version && brew install gcc
64+ USER root
65+
4366# Install OpenClaw globally
4467RUN npm config set fund false && npm config set audit false \
4568 && npm install -g openclaw@2026.1.30
Original file line number Diff line number Diff line change 11name : OpenClaw Assistant
2- version : " 0.5.28 "
2+ version : " 0.5.29 "
33slug : openclaw_assistant
44description : Run OpenClaw Assistant (OpenClaw-compatible) as a Home Assistant add-on.
55url : https://github.com/techartdev/OpenClawHomeAssistant
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euo pipefail
33
4+ # Ensure Homebrew and brew-installed binaries are in PATH
5+ # This is needed for OpenClaw skills that depend on CLI tools (gemini, aider, etc.)
6+ export PATH=" /home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:${PATH} "
7+
48# Home Assistant add-on options are usually rendered to /data/options.json
59OPTIONS_FILE=" /data/options.json"
610
You can’t perform that action at this time.
0 commit comments