From f0f27d1b95a09d1244dbe3eeef5deb879192136a Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Fri, 23 Jun 2017 17:17:02 +0300 Subject: Remove submodules and clone them instead, only latest history and one branch. Closes #977 --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index e40b3be8..cc8617aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -94,9 +94,11 @@ RUN \ if [ "$USE_EDGE" = false ]; then \ gosu wekan:wekan sh ./install_meteor.sh; \ else \ - gosu wekan:wekan git clone --recursive git://github.com/meteor/meteor.git /home/wekan/.meteor && \ + gosu wekan:wekan git clone --recursive --depth 1 -b release/METEOR@${METEOR_EDGE} git://github.com/meteor/meteor.git /home/wekan/.meteor && \ + cd /home/wekan/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 && \ cd /home/wekan/.meteor && \ - gosu wekan:wekan git checkout release/METEOR@${METEOR_EDGE} && \ gosu wekan /home/wekan/.meteor/meteor -- help; \ fi && \ \ -- cgit v1.2.3-1-g7c22