Allen Wittenauer created HADOOP-15617:
-----------------------------------------

             Summary: 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
            Reporter: Allen Wittenauer


{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.




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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to