Commit 9f156e53 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Update nodejs, have g++ and keep make on php70

parent df453d9c
......@@ -13,4 +13,4 @@ curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
# NodeSource's Node.js repository
curl --fail -sL https://deb.nodesource.com/setup_4.x | bash -
curl --fail -sL https://deb.nodesource.com/setup_8.x | bash -
......@@ -39,7 +39,6 @@ apt-get remove -y --purge \
libubsan0 \
linux-libc-dev \
m4 \
make \
php7.0-dev \
shtool \
zlib1g-dev \
......
......@@ -3,8 +3,8 @@ set -e
source /pd_build/buildconfig
set -x
## Install Node.js
minimal_apt_get_install nodejs
# Install Node.js and some packages to successfully compile stuff
minimal_apt_get_install nodejs make g++
## And update nodejs on global level
npm update -g
\ No newline at end of file
# And update npm afterwards
npm install npm -g
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment