HADOOP-17097. start-build-env.sh fails in branch-3.1. (#2108)

This commit is contained in:
Masatake Iwasaki 2020-06-30 10:47:41 +09:00 committed by GitHub
parent b03e6fc44a
commit d84386ccf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -165,14 +165,14 @@ RUN pip2 install \
RUN pip2 install python-dateutil RUN pip2 install python-dateutil
### ###
# Install node.js for web UI framework (4.2.6 ships with Xenial) # Install node.js 5.x for web UI framework
# (instead of 4.2.6 shipped with Xenial)
### ###
RUN apt-get -y install nodejs && \ RUN curl -sL https://deb.nodesource.com/setup_5.x | bash - && \
ln -s /usr/bin/nodejs /usr/bin/node && \ apt-get install -y nodejs && \
apt-get -y install npm && \ npm install -g npm@5.10.0 && \
npm install npm@latest -g && \ npm install -g bower@1.7.7 && \
npm install -g bower && \ npm install -g ember-cli@1.13.14
npm install -g ember-cli
### ###
# Avoid out of memory errors in builds # Avoid out of memory errors in builds