[FIX]Odoo 10 : fix postgresql96 (not in repo anymore)

This commit is contained in:
Fabien BOURGEOIS 2022-03-21 07:47:34 +01:00
parent c7ca8502b6
commit 967856a5d9
1 changed files with 5 additions and 2 deletions

View File

@ -8,10 +8,13 @@ RUN yum -y groupinstall "Development Tools" && \
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \
yum --enablerepo=epel -y install nodejs npm python-pip && \
yum -y install https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm && \
yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm && \
curl -LO https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/libpqxx-5.0.1-2.rhel7.x86_64.rpm && \
curl -LO https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/postgresql96-9.6.24-1PGDG.rhel7.x86_64.rpm && \
curl -LO https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/postgresql96-libs-9.6.24-1PGDG.rhel7.x86_64.rpm && \
yum install -y ./*.rpm && \
yum -y install postgresql96 libpqxx && \
yum -y install liberation-fonts && \
yum clean all
rm *.rpm && yum clean all
# Install NPM dependencies and Python ones