[FIX]Odoo 14 OL8 : need to compile postgres tools
This commit is contained in:
parent
8294295986
commit
3b8b398180
@ -11,11 +11,18 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
# Odoo dependencies from OL repositories, python38 and WKHTML
|
||||
# Then PG10 and fonts
|
||||
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 xz-devel git mercurial libpng libjpeg libXext curl xorg-x11-font-utils fontconfig libevent-devel libxml2-devel libxslt-devel openldap-devel openjpeg2 freetype-devel libjpeg-turbo-devel libtiff-devel kernel-devel mailcap nodejs npm python38-devel python38-pip postgresql libpq libpq-devel liberation-fonts && \
|
||||
yum -y install zlib-devel bzip2-devel openssl openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel libpcap xz-devel git mercurial libpng libjpeg libXext curl xorg-x11-font-utils fontconfig libevent-devel libxml2-devel libxslt-devel openldap-devel openjpeg2 freetype-devel libjpeg-turbo-devel libtiff-devel kernel-devel mailcap nodejs npm python38-devel python38-pip libpq libpq-devel liberation-fonts && \
|
||||
yum -y install https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox-0.12.5-1.centos8.x86_64.rpm && \
|
||||
yum clean all && \
|
||||
/usr/sbin/update-alternatives --set python3 /usr/bin/python3.8
|
||||
|
||||
# PostgreSQL 12 : missing packges on official v12
|
||||
WORKDIR /tmp/
|
||||
RUN curl -LO https://ftp.postgresql.org/pub/source/v12.19/postgresql-12.19.tar.gz && \
|
||||
tar xzf postgresql-12.19.tar.gz
|
||||
WORKDIR /tmp/postgresql-12.19
|
||||
RUN ./configure && make && make install && ln -s /usr/local/pgsql/bin/* /usr/local/bin/
|
||||
|
||||
# Install NPM dependencies
|
||||
RUN npm install -g less@3 less-plugin-clean-css@1.5.1 rtlcss@2.6.2
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user