소스 검색

Checkout submodules in Docker Hub hook

Andrew Rabert 6 년 전
부모
커밋
26e2ffdd31
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      hooks/pre_build

+ 2 - 0
hooks/pre_build

@@ -1,4 +1,6 @@
 #!/bin/bash
+git submodule update --init --recursive
+
 # Register qemu-*-static for all supported processors except the 
 # current one, but also remove all registered binfmt_misc before
 docker run --rm --privileged multiarch/qemu-user-static:register --reset