[FIX]Odoo 10 OL8 : need to compile postgres tools
This commit is contained in:
parent
f2ef8335c8
commit
8294295986
@ -13,10 +13,20 @@ RUN yum -y groupinstall "Development Tools" && \
|
|||||||
/usr/sbin/update-alternatives --set python /usr/bin/python2 && \
|
/usr/sbin/update-alternatives --set python /usr/bin/python2 && \
|
||||||
ln -s /usr/bin/pip2 /usr/local/bin/pip
|
ln -s /usr/bin/pip2 /usr/local/bin/pip
|
||||||
|
|
||||||
|
|
||||||
# Install NPM dependencies and Python ones
|
# Install NPM dependencies and Python ones
|
||||||
RUN npm install -g less@2 less-plugin-clean-css@1.5.1 && \
|
RUN npm install -g less@2 less-plugin-clean-css@1.5.1 && \
|
||||||
pip install --no-cache-dir -U pip==20.3.4 setuptools==44.1.1
|
pip install --no-cache-dir -U pip==20.3.4 setuptools==44.1.1
|
||||||
|
|
||||||
|
# Postgres 96 needs to be compiled
|
||||||
|
# bison-devel, wget, ccache...
|
||||||
|
# RUN git clone --depth 1 --branch REL9_6_24 git://git.postgresql.org/git/postgresql.git /tmp/postgresql
|
||||||
|
WORKDIR /tmp/
|
||||||
|
RUN curl -LO https://ftp.postgresql.org/pub/source/v9.6.24/postgresql-9.6.24.tar.gz && \
|
||||||
|
tar xzf postgresql-9.6.24.tar.gz
|
||||||
|
WORKDIR /tmp/postgresql-9.6.24
|
||||||
|
RUN ./configure && make && make install && ln -s /usr/local/pgsql/bin/* /usr/local/bin/
|
||||||
|
|
||||||
# Create odoo user
|
# Create odoo user
|
||||||
RUN useradd odoo -md /opt/odoo
|
RUN useradd odoo -md /opt/odoo
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user