aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorAndrew Rabert <ar@nullsum.net>2019-02-16 01:45:48 -0500
committerAndrew Rabert <ar@nullsum.net>2019-02-16 01:45:48 -0500
commit26e2ffdd31f7425f37060c9e5f07a7e6815fbe94 (patch)
tree972f4f06602f02aa3556738915ea479bd096593b /hooks
parentc44f96b727c29b35eb64db295abe6ff3c86cb424 (diff)
Checkout submodules in Docker Hub hook
Diffstat (limited to 'hooks')
-rw-r--r--hooks/pre_build2
1 files changed, 2 insertions, 0 deletions
diff --git a/hooks/pre_build b/hooks/pre_build
index a08c740b3..2fd6136c5 100644
--- a/hooks/pre_build
+++ b/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