Fix claude_desktop build: remove conflicting npm apt package

This commit is contained in:
copilot-swe-agent[bot]
2026-07-07 07:52:34 +00:00
committed by GitHub
parent 8f325722cf
commit 09a94d5b3b
2 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
# Changelog
## 1.0
- Fix build failure: remove separate `npm` apt package (already bundled in NodeSource nodejs)
## debianbookworm-1ae1f8ff-ls13
- Initial Claude Desktop add-on using LinuxServer Selkies, Home Assistant ingress, persistent sign-in data, runtime Claude Desktop updates, optional apt/pip additions, custom scripts, and bundled Claude Code optimization tools.

View File

@@ -62,7 +62,7 @@ RUN curl -fsSLo /usr/share/keyrings/claude-desktop-archive-keyring.asc https://d
# Install token-optimization tool prerequisites and binaries at build time
RUN apt-get update && \
apt-get install -y --no-install-recommends nodejs npm && \
apt-get install -y --no-install-recommends nodejs && \
pip3 install --break-system-packages "headroom-ai[all]" && \
curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh && \
if [ -x /root/.local/bin/rtk ] && [ ! -x /usr/local/bin/rtk ]; then mv /root/.local/bin/rtk /usr/local/bin/rtk; fi && \