Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alpine image: Install NodeJS for Matter binding #454

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

florian-h05
Copy link

@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
@@ -57,6 +57,7 @@ RUN apk update --no-cache && \
tini \
ttf-dejavu \
openjdk${JAVA_VERSION} \
nodejs \
Copy link
Member

Choose a reason for hiding this comment

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

It only makes sense to install it for OH 5 or newer and not OH 4 (or older) which use the same files.

You can prevent that by adding some conditional logic based on the version.
See the Debian Dockerfile for how this is done (ref1, ref2).

Is there already a PR for the Matter add-on? Merging this PR depends on if that gets merged.

Copy link
Author

Choose a reason for hiding this comment

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

No, there is no Matter PR yet, but I am sure it will get merged given the interest of openHAB maintainers on it.
Not having NodeJS in thr Alpine image available will prevent users from installing and testing the Matter binding from thr marketplace through.

Signed-off-by: Florian Hotze <[email protected]>
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