build docker container as a post-install script

This way testing doesn't require the vm to be destroyed every time