OK, so I'm using ODBC with PostgreSQL and python and added a "data source" in the control panel->administrator tools->ODBC Data Source Administrator as PostgreSQL30 (note this is under Vista so the ...
RUN tar -xvf unixODBC*.tar.gz -C unixODBC --strip-components=1 WORKDIR /root/rpmbuild/SOURCES/unixODBC RUN ./configure --sysconfdir=/opt/python --disable-gui ...