See issue:

Problem: Dockerfile does not build on docker hub #56 
https://github.com/dirtyjtag/DirtyJTAG/issues/56

Solution: add a file in hooks/post_checkout
https://stackoverflow.com/questions/54055666/docker-hub-and-git-submodules/59640438#59640438
https://docs.docker.com/docker-hub/builds/advanced/#custom-build-phase-hooks
