Explorar o código

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

Former-commit-id: 0e99a47bef80870cf53923babd5442f313114845
Gildas %!s(int64=6) %!d(string=hai) anos
pai
achega
95e4bd057f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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