build image separately