diff --git a/Makefile b/Makefile
index 52148926e069354155c1f98ad81ad6fd7c054d90..4f6e7ef8f03df25f0d3266d1d5f3e01a35d42c02 100644
--- a/Makefile
+++ b/Makefile
@@ -148,4 +148,5 @@ git-submodules:
 	@[ -d ".git" ] || (echo "Not a git repository" && exit 1)
 	@echo "Updating git submodules"
 	@# Dockerhub using ./hooks/post-checkout to set submodules, so this line will fail on Dockerhub
+	@git submodule sync --recursive
 	@git submodule update --quiet --init --recursive --force || true