adjusted configs and scripts to generate a base pg image