Github user nickwallen commented on a diff in the pull request:
https://github.com/apache/metron/pull/712#discussion_r134799272
--- Diff: metron-deployment/packaging/docker/rpm-docker/SPECS/metron.spec
---
@@ -91,6 +93,9 @@ tar -xzf %{SOURCE11} -C %{buildroot}%{metron_home}
install %{buildroot}%{metron_home}/bin/metron-rest %{buildroot}/etc/init.d/
install %{buildroot}%{metron_home}/bin/metron-management-ui
%{buildroot}/etc/init.d/
+# allows node dependencies to be packaged in the RPMs
+npm install --prefix="%{buildroot}%{metron_home}/web/expressjs"
--only=production
--- End diff --
We package only production dependencies. We know that all production
dependencies are Apache license compatible. Some of the development
dependencies are not Apache license compatible.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---