Try to fix Docker and Snap: add apt-utils, remove sed bson.

This commit is contained in:
Lauri Ojansivu 2018-01-22 14:37:34 +02:00
parent fb220fe918
commit d79bb1a81c
2 changed files with 2 additions and 3 deletions

View file

@ -77,6 +77,7 @@ parts:
- node-pre-gyp
- fibers@2.0.0
build-packages:
- apt-utils
- ca-certificates
- python
- g++
@ -107,7 +108,6 @@ parts:
meteor npm install --allow-superuser
meteor build .build --directory --allow-superuser
cp -f fix-download-unicode/cfs_access-point.txt .build/bundle/programs/server/packages/cfs_access-point.js
sed -i "s|build\/Release\/bson|browser_build\/bson|g" .build/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/node_modules/bson/ext/index.js
cd .build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt
rm -rf node_modules/bcrypt
meteor npm install --save bcrypt