chore(docker): use APT nodejs for all Raspberry Pi boards#2678
Merged
nicomiguelino merged 1 commit intoScreenly:masterfrom Feb 24, 2026
Merged
Conversation
NodeSource doesn't support armhf architecture (used by pi3/pi4), so fall back to APT-provided nodejs/npm for those boards. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Issues Fixed
Fixes a Docker image build failure on Raspberry Pi 3 and Pi 4 devices caused by the NodeSource setup script not supporting the
armhfarchitecture.Description
The NodeSource setup script only supports
amd64andarm64architectures. Raspberry Pi 3 and Pi 4 usearmhf, which caused the following error during Docker builds:Previously,
pi1andpi2used APT-providednodejs/npm, whilepi3andpi4fell through to the NodeSource path. This PR extends the APT install branch to cover all Raspberry Pi boards (pi1,pi2,pi3,pi4). The NodeSource path is now only used for non-Pi boards (x86/x86_64).Checklist