Fix HA add-on: require Node.js 20+ (use nodejs-current)

This commit is contained in:
TheLast
2026-01-27 13:26:36 +02:00
parent e7642f2a89
commit adfe8d7187
+3 -2
View File
@@ -1,9 +1,10 @@
ARG BUILD_FROM=ghcr.io/hassio-addons/base:14.0.2 ARG BUILD_FROM=ghcr.io/hassio-addons/base:14.0.2
FROM ${BUILD_FROM} FROM ${BUILD_FROM}
# Base image is Alpine. Install node + git so we can install clawdbot. # Base image is Alpine. Install Node.js 20+ + git so we can install clawdbot.
# On HA base images, `nodejs` may be 18.x; use `nodejs-current` for 20+.
RUN apk add --no-cache \ RUN apk add --no-cache \
nodejs \ nodejs-current \
npm \ npm \
git \ git \
bash \ bash \