mirror of
https://github.com/YunoHost/vinaigrette.git
synced 2024-09-03 20:06:11 +02:00
Add nodejs stuff only for amd64
This commit is contained in:
parent
8f731112b8
commit
590e7f0334
1 changed files with 7 additions and 4 deletions
|
@ -29,11 +29,14 @@ function build_image()
|
|||
|
||||
chroot $CHROOT apt-get update
|
||||
chroot $CHROOT apt-get dist-upgrade
|
||||
chroot $CHROOT apt-get install -y build-essential debhelper cmake wget
|
||||
chroot $CHROOT apt-get install -y build-essential debhelper cmake wget devscripts
|
||||
|
||||
chroot $CHROOT wget -q -O /tmp/setup_nodejs https://deb.nodesource.com/setup_4.x
|
||||
chroot $CHROOT bash /tmp/setup_nodejs
|
||||
chroot $CHROOT apt-get install -y nodejs
|
||||
if [ "$ARCH" == "amd64" ];
|
||||
then
|
||||
chroot $CHROOT wget -q -O /tmp/setup_nodejs https://deb.nodesource.com/setup_4.x
|
||||
chroot $CHROOT bash /tmp/setup_nodejs
|
||||
chroot $CHROOT apt-get install -y nodejs
|
||||
fi
|
||||
|
||||
chroot $CHROOT apt-get clean
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue