add a script to build base image