a tool for build image