Fix npm optional flags (remove deprecated config); bump add-on to 0.5.19
This commit is contained in:
@@ -44,12 +44,10 @@ RUN set -eu; \
|
|||||||
|
|
||||||
# Install OpenClaw globally
|
# Install OpenClaw globally
|
||||||
# IMPORTANT: OpenClaw declares some native packages as optionalDependencies.
|
# IMPORTANT: OpenClaw declares some native packages as optionalDependencies.
|
||||||
# On HAOS/Alpine we want to skip them 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 optional false \
|
|
||||||
&& npm config set omit optional \
|
&& npm config set omit optional \
|
||||||
&& NPM_CONFIG_OPTIONAL=false NPM_CONFIG_OMIT=optional \
|
&& NPM_CONFIG_OMIT=optional npm install -g --omit=optional openclaw@2026.1.30
|
||||||
npm install -g --omit=optional --no-optional 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.18"
|
version: "0.5.19"
|
||||||
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