From 4e5e529eb6d51cf98d1d225c8f0141c7c20a631b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 25 Jan 2020 16:20:00 +0300 Subject: [PATCH] don't clone entire git history into container image --- src/app/build-prepare.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/build-prepare.sh b/src/app/build-prepare.sh index cf68895..5e5a5c2 100755 --- a/src/app/build-prepare.sh +++ b/src/app/build-prepare.sh @@ -4,7 +4,7 @@ DST_DIR=/src/tt-rss mkdir -p $DST_DIR -git clone https://git.tt-rss.org/fox/tt-rss.git $DST_DIR -git clone https://git.tt-rss.org/fox/ttrss-nginx-xaccel.git $DST_DIR/plugins.local/nginx_xaccel +git clone --branch master --depth 1 https://git.tt-rss.org/fox/tt-rss.git $DST_DIR +git clone --branch master --depth 1 https://git.tt-rss.org/fox/ttrss-nginx-xaccel.git $DST_DIR/plugins.local/nginx_xaccel mkdir -p /var/www