@@ -182,31 +182,31 @@ RUN set -ex \
182182 && touch "$SITE_PKG/__init__.py"
183183
184184# #############################################################
185- # STAGE 2.5: Install Node.js and npm-based tools
185+ # STAGE 2.5: Install developer tools (Homebrew, Node.js, CLI agents)
186186# #############################################################
187187
188- # Install Node.js via fnm and Claude Code
189188ENV FNM_DIR=/root/.fnm
190189ENV NODE_VERSION=24.13.0
191- ENV PATH="$FNM_DIR/aliases/default/bin:/root/.local/bin:$PATH"
192- RUN curl -fsSL https://fnm.vercel.app/install | bash -s -- --install-dir "$FNM_DIR" --skip-shell \
190+ ENV PATH="$FNM_DIR/aliases/default/bin:/home/linuxbrew/.linuxbrew/bin:/root/.local/bin:/root/.cargo/bin:$PATH"
191+
192+ RUN set -ex \
193+ # --- Homebrew + brew packages ---
194+ && NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" \
195+ && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" \
196+ && brew install ironclaw zeroclaw \
197+ # --- Node.js via fnm ---
198+ && curl -fsSL https://fnm.vercel.app/install | bash -s -- --install-dir "$FNM_DIR" --skip-shell \
193199 && eval "$($FNM_DIR/fnm env --shell bash)" \
194200 && $FNM_DIR/fnm install $NODE_VERSION \
195201 && $FNM_DIR/fnm default $NODE_VERSION \
196202 && npm install -g npm@latest \
203+ # --- npm CLI tools ---
204+ && npm install -g @openai/codex @google/gemini-cli openclaw@latest \
205+ # --- Standalone CLI installers ---
197206 && curl -fsSL https://claude.ai/install.sh | bash \
198207 && curl -fsSL https://opencode.ai/install | bash \
199- && npm install -g @openai/codex \
200- && npm install -g @google/gemini-cli \
201- && npm install -g openclaw@latest
202-
203- ENV PATH="/root/.cargo/bin:$PATH"
204- RUN curl --proto '=https' --tlsv1.2 -LsSf \
205- https://github.com/nearai/ironclaw/releases/latest/download/ironclaw-installer.sh | sh
206- RUN curl -fsSL \
207- https://github.com/zeroclaw-labs/zeroclaw/releases/latest/download/install.sh \
208- | bash -s -- --prefer-prebuilt --skip-onboard
209- RUN uv pip install nanobot-ai
208+ # --- Python tools ---
209+ && uv pip install nanobot-ai
210210
211211# #############################################################
212212# STAGE 3: Install project dependencies from pyproject.toml
0 commit comments