소스 검색

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