create source for db image

- db inherit from base image