Fix up dockerized build and release build

This is still WIP but I wanted to get this stuff in so that this is reviewed in more bite sized chunks.