浏览代码

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