Skip to content

The Free Software Media System - Server Backend & API

Checkout submodules in Docker Hub hook

Andrew Rabert26e2ffdd31f7
diff --git a/hooks/pre_build b/hooks/pre_build
index a08c740b38..2fd6136c53 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