[FIX]Odoo 8C7 needs postgres95 runtime from SCL

This commit is contained in:
Fabien BOURGEOIS 2021-09-19 08:34:11 +02:00
parent c3f462bfd3
commit 9e2c26be4f
1 changed files with 6 additions and 1 deletions

View File

@ -17,7 +17,12 @@ RUN npm install -g less@2 less-plugin-clean-css
# PostgreSQL 9.5
# From SCLO ?
RUN yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
RUN yum -y install postgresql95 libpqxx
RUN yum -y install libpqxx
# PostgreSQL 9.5 needs SCL now
RUN yum install -y centos-release-scl
RUN yum-config-manager --enable rhel-server-rhscl-7-rpms
RUN yum install -y rh-postgresql95-postgresql
RUN ln -s /opt/rh/rh-postgresql95/root/usr/bin/pg_dump /usr/local/bin/
# Fonts