Skip to content

Alpine image: Install NodeJS for Matter binding#454

Merged
wborn merged 2 commits intoopenhab:mainfrom
florian-h05:alpine-nodejs
Jun 2, 2025
Merged

Alpine image: Install NodeJS for Matter binding#454
wborn merged 2 commits intoopenhab:mainfrom
florian-h05:alpine-nodejs

Conversation

@florian-h05
Copy link
Copy Markdown
Contributor

@florian-h05 florian-h05 commented Jan 4, 2025

@florian-h05 florian-h05 marked this pull request as ready for review January 4, 2025 13:37
@florian-h05 florian-h05 requested a review from a team as a code owner January 4, 2025 13:37
Comment thread alpine/Dockerfile Outdated
@florian-h05
Copy link
Copy Markdown
Contributor Author

The Matter PR has just been merged 🥳
So we can finally merge this PR as well.

@digitaldan
Copy link
Copy Markdown

Thanks @florian-h05 , i wondering since we will need to support 5.0 and beyond, if we should check if its at least v5 or greater then install. I guess eventually we will want to remove once we stop supporting 4.x. Maybe something like

if [ "$(echo "$version" | sed -E 's/^([0-9]+).*/\1/')" -ge 5 ]; then apk add --no-cache nodejs; fi && \

@florian-h05
Copy link
Copy Markdown
Contributor Author

@digitaldan I just updated the code to check for openHAB >= 5 👍

@digitaldan
Copy link
Copy Markdown

LGTM, not sure what github is complaining about?

Signed-off-by: Florian Hotze <dev@florianhotze.com>
Signed-off-by: Florian Hotze <dev@florianhotze.com>
@florian-h05
Copy link
Copy Markdown
Contributor Author

Looks good now, I have fixed ShellCheck.

Copy link
Copy Markdown
Member

@wborn wborn left a comment

Choose a reason for hiding this comment

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

Thank you!

@wborn wborn merged commit 2e5868c into openhab:main Jun 2, 2025
6 of 7 checks passed
@florian-h05 florian-h05 deleted the alpine-nodejs branch June 2, 2025 06:48
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.

3 participants