build.sh handle parent image inherit in start and test