Browse Source

don't clone entire git history into container image

Andrew Dolgov 7 months ago
parent
commit
4e5e529eb6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/app/build-prepare.sh

+ 2 - 2
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