Minor build options for images.
Expose db links.

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>