[ 
https://issues.apache.org/jira/browse/METRON-1214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16184111#comment-16184111
 ] 

ASF GitHub Bot commented on METRON-1214:
----------------------------------------

Github user simonellistonball commented on the issue:

    https://github.com/apache/metron/pull/775
  
    Do we need to ensure we're picking this from the right repos? We should 
probably use the nodesource rpm repo rather than relying on the centos build, 
which is a very very old version, and could cause issues. Adding a the repo 
file in might be a good call.


> 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)

Reply via email to