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

Akira Ajisaka commented on YARN-10036:
--------------------------------------

I tried the following and failed. This is because yarn version 0.21.3 is too 
old and not provided by the repository.
{code}
RUN curl -s -S https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
    && echo 'deb http://dl.yarnpkg.com/debian/ stable main' > 
/etc/apt/sources.list.d/yarn.list
RUN apt-get -q update \
    && apt-get install -y --no-install-recommends yarn=0.21.3
{code}
We should upgrade yarn, nodejs, and bower to the latest version.

> Install yarn and bower in Dockerfile
> ------------------------------------
>
>                 Key: YARN-10036
>                 URL: https://issues.apache.org/jira/browse/YARN-10036
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: buid, yarn-ui-v2
>         Environment: Now node.js is installed in Dockerfile but yarn 
> (yarnpkg) and bower are not installed.
>            Reporter: Akira Ajisaka
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to