Yeah, you can 'docker build git://URL' and docker will fetch the remote source for you.