diff --git a/openclaw_assistant/Dockerfile b/openclaw_assistant/Dockerfile index d397907..e460de4 100644 --- a/openclaw_assistant/Dockerfile +++ b/openclaw_assistant/Dockerfile @@ -5,15 +5,7 @@ FROM ${BUILD_FROM} # OpenClaw requires Node 20+, so we install a Node 20 musl build directly. ARG NODE_VERSION=22.12.0 -# Base image is Alpine, but its exact patch-level varies. -# Do NOT hardcode v3.xx repos (can cause musl/musl-dev conflicts). -# Instead, derive the repo version from /etc/alpine-release at build time. -RUN set -eu; \ - ALPINE_VER="$(cut -d. -f1,2 /etc/alpine-release)"; \ - echo "Using Alpine repos for v${ALPINE_VER}"; \ - apk add --no-cache \ - --repository="https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VER}/main" \ - --repository="https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VER}/community" \ +RUN apk add --no-cache \ bash \ git \ openssh-client \ @@ -30,11 +22,7 @@ RUN set -eu; \ pax-utils \ python3 \ nginx \ - ttyd \ - make \ - cmake \ - build-base \ - linux-headers + ttyd # Install Node.js 22+ (musl build) from unofficial builds. # Router/base image Alpine may ship an older libstdc++; we pull a newer libstdc++ from edge to satisfy Node's C++ symbols. @@ -55,11 +43,8 @@ RUN set -eu; \ /usr/local/bin/node -v; /usr/local/bin/npm -v # Install OpenClaw globally -# IMPORTANT: OpenClaw declares some native packages as optionalDependencies. -# On HAOS/Alpine we skip optional deps to avoid install-time native builds. RUN npm config set fund false && npm config set audit false \ - && npm install -g xpm@0.16.3 \ - && npm install -g openclaw@2026.1.30 + && npm install -g openclaw@2026.1.29 COPY run.sh /run.sh COPY nginx.conf.tpl /etc/nginx/nginx.conf.tpl diff --git a/openclaw_assistant/config.yaml b/openclaw_assistant/config.yaml index 373814b..39cde69 100644 --- a/openclaw_assistant/config.yaml +++ b/openclaw_assistant/config.yaml @@ -1,5 +1,5 @@ name: OpenClaw Assistant -version: "0.5.22" +version: "0.5.23" slug: openclaw_assistant description: Run OpenClaw Assistant (OpenClaw-compatible) as a Home Assistant add-on. url: https://github.com/techartdev/OpenClawHomeAssistant