Build rails image on base image.