File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,10 @@ RUN ln -s /var/log/xdebug/xdebug.log /var/www/log/ && \
3636# Install JRE (needed for some testing tools like sitespeed.io) and libs for PhantomJS.
3737RUN DEBIAN_FRONTEND=noninteractive apt-get -y install default-jre libfreetype6 libfontconfig
3838
39- # Install Node 4.4.x LTS (https://nodejs.org/) via NVM
40- USER ubuntu
41- RUN wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash && \
42- cp -f ~/.nvm/nvm.sh ~/.nvm/nvm-tmp.sh && \
43- echo "nvm install 4.4; nvm alias default 4.4" >> ~/.nvm/nvm-tmp.sh && \
44- sh ~/.nvm/nvm-tmp.sh && \
45- rm ~/.nvm/nvm-tmp.sh
46- USER root
39+ # Install Node 4 LTS (https://nodejs.org/)
40+ RUN curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
41+ RUN apt-get install -y nodejs
42+ RUN update-alternatives --install /usr/bin/node node /usr/bin/nodejs 10
4743
4844# Setup for Wraith
4945RUN DEBIAN_FRONTEND=noninteractive apt-get -y install imagemagick && \
You can’t perform that action at this time.
0 commit comments