separate docker image build script from launch.sh