add some more generic 'tooling' to buildcontainers so it can handle multiple image builds