use external script for docker builds so building can be run independently