Переглянути джерело

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