build a custom pg image