Skip to content

Fix for #4: Issue while trying to install on HA OS on Raspberry Pi 5#5

Open
FDelporte wants to merge 8 commits into
dkmaker:mainfrom
FDelporte:main
Open

Fix for #4: Issue while trying to install on HA OS on Raspberry Pi 5#5
FDelporte wants to merge 8 commits into
dkmaker:mainfrom
FDelporte:main

Conversation

@FDelporte

Copy link
Copy Markdown

Change in Dockerfile needed.

Confirmed as fixed on my Raspberry Pi 5, Home Assistant OS:
Core 2026.6.4
Supervisor 2026.06.2
Operating System 18.0
Frontend 20260527.7

Copilot AI review requested due to automatic review settings June 26, 2026 11:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses installation/build failures on Home Assistant OS (notably Raspberry Pi 5) by ensuring pnpm is configured to allow required dependency build scripts during the add-on image build.

Changes:

  • Generates a pnpm-workspace.yaml in the build stage to allow build scripts for specific dependencies that pnpm otherwise blocks.
  • Adjusts the pnpm install step to run with the new approval configuration in place.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread addon/Dockerfile
Comment on lines +26 to +28
RUN cd mcp-server && \
printf 'allowBuilds:\n better-sqlite3: true\n esbuild: true\n onnxruntime-node: true\n protobufjs: true\n sharp: true\n' > pnpm-workspace.yaml && \
(pnpm install --frozen-lockfile 2>/dev/null || pnpm install)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants