diff options
-rw-r--r-- | Dockerfile | 3 | ||||
-rw-r--r-- | snapcraft.yaml | 5 |
2 files changed, 7 insertions, 1 deletions
@@ -228,7 +228,8 @@ RUN \ cd /home/wekan/app/packages && \ gosu wekan:wekan git clone --depth 1 -b master git://github.com/wekan/flow-router.git kadira-flow-router && \ gosu wekan:wekan git clone --depth 1 -b master git://github.com/meteor-useraccounts/core.git meteor-useraccounts-core && \ - gosu wekan:wekan git clone --depth 1 -b master git://github.com/wekan/meteor-accounts-cas.git meteor-accounts-cas && \ + gosu wekan:wekan git clone --depth 1 -b master git://github.com/wekan/meteor-accounts-cas.git && \ + gosu wekan:wekan git clone --depth 1 -b master git://github.com/wekan/wekan-ldap.git && \ sed -i 's/api\.versionsFrom/\/\/api.versionsFrom/' /home/wekan/app/packages/meteor-useraccounts-core/package.js && \ cd /home/wekan/.meteor && \ gosu wekan:wekan /home/wekan/.meteor/meteor -- help; \ diff --git a/snapcraft.yaml b/snapcraft.yaml index e4276976..c3d3ecff 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -147,6 +147,11 @@ parts: git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-cas.git meteor-accounts-cas cd .. fi + if [ ! -d "packages/wekan-ldap" ]; then + cd packages + git clone --depth 1 -b master https://github.com/wekan/wekan-ldap.git + cd .. + fi rm -rf package-lock.json .build meteor add standard-minifier-js --allow-superuser meteor npm install --allow-superuser |