You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2019/01/17 10:05:00 UTC

[jira] [Updated] (HADOOP-15617) Node.js and npm package loading in the Dockerfile failing on branch-2

     [ https://issues.apache.org/jira/browse/HADOOP-15617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-15617:
------------------------------------
    Summary: Node.js and npm package loading in the Dockerfile failing on branch-2  (was: Reduce node.js and npm package loading in the Dockerfile)

> Node.js and npm package loading in the Dockerfile failing on branch-2
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-15617
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15617
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 2.9.3
>            Reporter: Allen Wittenauer
>            Assignee: Akhil PB
>            Priority: Major
>         Attachments: HADOOP-15617-branch-2-001.patch, HADOOP-15617-branch-2-002.patch, HADOOP-15617-branch-2-003.patch
>
>
> {code}
> RUN apt-get -y install nodejs && \
>     ln -s /usr/bin/nodejs /usr/bin/node && \
>     apt-get -y install npm && \
>     npm install npm@latest -g && \
>     npm install -g bower && \
>     npm install -g ember-cli
> {code}
> should get reduced to
> {code}
> RUN apt-get -y install nodejs && \
>     ln -s /usr/bin/nodejs /usr/bin/node && \
>     apt-get -y install npm && \
>     npm install npm@latest -g
> {code}
> The locally installed versions of bower and ember-cli aren't being used anymore.  Removing these cuts the docker build time significantly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org