Fix build: add make/cmake + xpm for node-llama-cpp; bump add-on to 0.5.20
This commit is contained in:
@@ -5,7 +5,10 @@ FROM ${BUILD_FROM}
|
|||||||
# OpenClaw requires Node 20+, so we install a Node 20 musl build directly.
|
# OpenClaw requires Node 20+, so we install a Node 20 musl build directly.
|
||||||
ARG NODE_VERSION=22.12.0
|
ARG NODE_VERSION=22.12.0
|
||||||
|
|
||||||
|
# Base image may not include community repo; cmake lives there.
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
|
--repository=https://dl-cdn.alpinelinux.org/alpine/v3.18/main \
|
||||||
|
--repository=https://dl-cdn.alpinelinux.org/alpine/v3.18/community \
|
||||||
bash \
|
bash \
|
||||||
git \
|
git \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
@@ -22,7 +25,9 @@ RUN apk add --no-cache \
|
|||||||
pax-utils \
|
pax-utils \
|
||||||
python3 \
|
python3 \
|
||||||
nginx \
|
nginx \
|
||||||
ttyd
|
ttyd \
|
||||||
|
make \
|
||||||
|
cmake
|
||||||
|
|
||||||
# Install Node.js 22+ (musl build) from unofficial builds.
|
# 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.
|
# Router/base image Alpine may ship an older libstdc++; we pull a newer libstdc++ from edge to satisfy Node's C++ symbols.
|
||||||
@@ -46,8 +51,8 @@ RUN set -eu; \
|
|||||||
# IMPORTANT: OpenClaw declares some native packages as optionalDependencies.
|
# IMPORTANT: OpenClaw declares some native packages as optionalDependencies.
|
||||||
# On HAOS/Alpine we skip optional deps to avoid install-time native builds.
|
# On HAOS/Alpine we skip optional deps to avoid install-time native builds.
|
||||||
RUN npm config set fund false && npm config set audit false \
|
RUN npm config set fund false && npm config set audit false \
|
||||||
&& npm config set omit optional \
|
&& npm install -g xpm@0.16.3 \
|
||||||
&& NPM_CONFIG_OMIT=optional npm install -g --omit=optional openclaw@2026.1.30
|
&& npm install -g openclaw@2026.1.30
|
||||||
|
|
||||||
COPY run.sh /run.sh
|
COPY run.sh /run.sh
|
||||||
COPY nginx.conf.tpl /etc/nginx/nginx.conf.tpl
|
COPY nginx.conf.tpl /etc/nginx/nginx.conf.tpl
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: OpenClaw Assistant
|
name: OpenClaw Assistant
|
||||||
version: "0.5.19"
|
version: "0.5.20"
|
||||||
slug: openclaw_assistant
|
slug: openclaw_assistant
|
||||||
description: Run OpenClaw Assistant (OpenClaw-compatible) as a Home Assistant add-on.
|
description: Run OpenClaw Assistant (OpenClaw-compatible) as a Home Assistant add-on.
|
||||||
url: https://github.com/techartdev/OpenClawHomeAssistant
|
url: https://github.com/techartdev/OpenClawHomeAssistant
|
||||||
|
|||||||
Reference in New Issue
Block a user