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

Akhil PB edited comment on HADOOP-15617 at 1/16/19 3:01 PM:
------------------------------------------------------------

Added v2 patch ([^HADOOP-15617-branch-2-002.patch]) with trunk code for 
Dockerfile changes (for nodejs and npm installation changes only).


was (Author: akhilpb):
Added v2 patch with trunk code for Dockerfile changes (for nodejs and npm 
installation changes only).

> Reduce node.js and npm package loading in the Dockerfile
> --------------------------------------------------------
>
>                 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
>            Priority: Major
>         Attachments: HADOOP-15617-branch-2-001.patch, 
> HADOOP-15617-branch-2-002.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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to