فهرست منبع

added '--depth 1' option when calling 'git clone' (cf. #338)

Former-commit-id: 0e99a47bef80870cf53923babd5442f313114845
Gildas 6 سال پیش
والد
کامیت
95e4bd057f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      cli/dockerfile

+ 1 - 1
cli/dockerfile

@@ -2,7 +2,7 @@ FROM zenika/alpine-chrome:with-node
 
 RUN set -x \
     git \
-    && git clone --recursive https://github.com/gildas-lormeau/SingleFile \
+    && git clone --depth 1 --recursive https://github.com/gildas-lormeau/SingleFile \
     && cd SingleFile && npm install --production && cd cli && npm install --production \
     && chmod +x single-file \
     && echo