[
https://issues.apache.org/jira/browse/METRON-1214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16200910#comment-16200910
]
ASF GitHub Bot commented on METRON-1214:
----------------------------------------
Github user DimDroll commented on the issue:
https://github.com/apache/metron/pull/775
@nickwallen , I do agree, wonder why it fails though, I will login into
container to check out what happens with the command curl and yum install
nodejs command.
> 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)