[IMP]Odoo 8 from CentOS to OracleLinux

This commit is contained in:
Fabien BOURGEOIS 2022-02-12 23:59:14 +01:00
parent 27fe99301b
commit 6fba57b7ba
1 changed files with 4 additions and 6 deletions

View File

@ -1,4 +1,4 @@
FROM centos:7
FROM oraclelinux:7
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
# Odoo dependencies from Debian APT repository
@ -15,10 +15,8 @@ RUN yum -y install https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/
RUN npm install -g less@2 less-plugin-clean-css
# PostgreSQL 9.5
# 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 curl -LO https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/libpqxx-5.0.1-2.rhel7.x86_64.rpm && curl -LO https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/postgresql95-9.5.25-1PGDG.rhel7.x86_64.rpm && curl -LO https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/postgresql95-libs-9.5.25-1PGDG.rhel7.x86_64.rpm
RUN yum install -y ./*.rpm
# Fonts
RUN yum -y install liberation-fonts
@ -36,7 +34,7 @@ RUN git clone -b ${ODOO_BRANCH} --depth 1 https://github.com/OCA/OCB.git
RUN pip install --user -r OCB/requirements.txt
# Launch scripts
COPY ./launch8c7.sh ./launch.sh
COPY ./launch.sh ./launch.sh
COPY ./genconf.sh ./
# Post-install tasks