[FIX]Oraclelinux 7 : replace fedora EPEL with OL EPEL - Odoo10 too

This commit is contained in:
Fabien BOURGEOIS 2024-09-12 10:44:23 +02:00
parent 372be99c23
commit 8957b41cdf

View File

@ -6,8 +6,8 @@ LABEL maintainer="Yaltik - Fabien Bourgeois <fabien@yaltik.com>"
COPY pkgs/odoo10c7/*.tgz ./
RUN yum -y groupinstall "Development Tools" && \
yum -y install zlib-devel bzip2-devel openssl openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel libpcap-devel xz-devel git mercurial libpng libjpeg libXext curl xorg-x11-font-utils fontconfig python-virtualenv libevent-devel libxml2-devel libxslt-devel openldap-devel openjpeg-devel freetype-devel libjpeg-turbo-devel libtiff-devel kernel-devel mailcap && \
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 oracle-epel-release-el7 && \
yum --enablerepo=epel -y install nodejs npm python2-pip && \
yum -y install https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm && \
tar -zxf ./libpqxx-5.0.1-2.rhel7.x86_64.tgz && \
tar -zxf ./postgresql96-9.6.24-1PGDG.rhel7.x86_64.tgz && \