[
https://issues.apache.org/jira/browse/METRON-1214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16200836#comment-16200836
]
ASF GitHub Bot commented on METRON-1214:
----------------------------------------
Github user ottobackwards commented on the issue:
https://github.com/apache/metron/pull/775
I just did your steps with a fresh branch from apache/master. And although
I get rpm lint errors about scripts without shebangs for all the node js
scripts, I **do** get RPMs built.
[build.log](https://github.com/apache/metron/files/1376934/build.log)
> rpm build fails due to npm absence in Dockerfile
> -------------------------------------------------
>
> Key: METRON-1214
> URL: https://issues.apache.org/jira/browse/METRON-1214
> Project: Metron
> Issue Type: Bug
> Affects Versions: 0.4.1
> Reporter: Dima Kovalyov
> Priority: Minor
>
> I've received error in metron/metron-deployment/packaging/docker/rpm-docker
> that npm is not installed, which failed the whole RPM build. To fix it I've
> added npm to line 28 in Dockerfile:
> {code}
> RUN yum -y install asciidoc rpm-build rpm2cpio tar unzip xmlto zip rpmlint
> npm && yum clean all
> {code}
> Requirement of npm was introduced after ui and rest addition.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)