diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-01-22 14:37:34 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-01-22 14:37:34 +0200 |
commit | d79bb1a81cc439d9fefc6bf962b978f77aefba02 (patch) | |
tree | c5de191356c461600700460e382f19c7abf59e9f | |
parent | fb220fe9182a62f22a8efebd58137efe47ba9486 (diff) | |
download | wekan-d79bb1a81cc439d9fefc6bf962b978f77aefba02.tar.gz wekan-d79bb1a81cc439d9fefc6bf962b978f77aefba02.tar.bz2 wekan-d79bb1a81cc439d9fefc6bf962b978f77aefba02.zip |
Try to fix Docker and Snap: add apt-utils, remove sed bson.
-rw-r--r-- | Dockerfile | 3 | ||||
-rw-r--r-- | snapcraft.yaml | 2 |
2 files changed, 2 insertions, 3 deletions
@@ -13,7 +13,7 @@ ARG SRC_PATH # Set the environment variables (defaults where required) # paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303 -ENV BUILD_DEPS="wget curl bzip2 build-essential python git ca-certificates gcc-4.9 paxctl" +ENV BUILD_DEPS="apt-utils wget curl bzip2 build-essential python git ca-certificates gcc-4.9 paxctl" ENV GOSU_VERSION=1.10 ENV NODE_VERSION ${NODE_VERSION:-v8.9.3} ENV METEOR_RELEASE ${METEOR_RELEASE:-1.6.0.1} @@ -119,7 +119,6 @@ RUN \ gosu wekan:wekan /home/wekan/.meteor/meteor build --directory /home/wekan/app_build && \ cp /home/wekan/app/fix-download-unicode/cfs_access-point.txt /home/wekan/app_build/bundle/programs/server/packages/cfs_access-point.js && \ chown wekan:wekan /home/wekan/app_build/bundle/programs/server/packages/cfs_access-point.js && \ - gosu wekan:wekan sed -i "s|build\/Release\/bson|browser_build\/bson|g" /home/wekan/app_build/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/node_modules/bson/ext/index.js && \ cd /home/wekan/app_build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt && \ gosu wekan:wekan rm -rf node_modules/bcrypt && \ gosu wekan:wekan npm install bcrypt && \ diff --git a/snapcraft.yaml b/snapcraft.yaml index a2524d25..79733c50 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -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 |