Try to fix snap build.

This commit is contained in:
Lauri Ojansivu 2017-12-19 21:38:20 +02:00
parent 4fad48e7ac
commit 74877fd10d

View file

@ -54,7 +54,7 @@ apps:
parts: parts:
mongodb: mongodb:
source: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-3.2.16.tgz source: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-3.2.18.tgz
plugin: dump plugin: dump
stage-packages: [libssl1.0.0] stage-packages: [libssl1.0.0]
filesets: filesets:
@ -70,23 +70,26 @@ parts:
wekan: wekan:
source: . source: .
plugin: nodejs plugin: nodejs
node-engine: 4.8.4 node-engine: 4.8.6
node-packages: node-packages:
- n
- npm@4.6.1 - npm@4.6.1
- node-gyp - node-gyp
- node-pre-gyp - node-pre-gyp
- fibers@1.0.15 - fibers@1.0.15
build-packages: build-packages:
- ca-certificates
- python - python
- g++ - g++
- capnproto - capnproto
- nodejs - npm
- nodejs-legacy
- curl - curl
prepare: | prepare: |
echo "Cleaning environment first" echo "Cleaning environment first"
rm -rf ~/.meteor ~/.npm /usr/local/lib/node_modules rm -rf ~/.meteor ~/.npm /usr/local/lib/node_modules
echo "installing meteor first" echo "Installing node"
n 4.8.6
echo "Installing meteor"
curl https://install.meteor.com/ -o install_meteor.sh curl https://install.meteor.com/ -o install_meteor.sh
sed -i "s|RELEASE=.*|RELEASE=\"1.4.4.1\"|g" install_meteor.sh sed -i "s|RELEASE=.*|RELEASE=\"1.4.4.1\"|g" install_meteor.sh
chmod +x install_meteor.sh chmod +x install_meteor.sh