From 1cb04df0b9b8810f383c074b1cdf7ac53b883f83 Mon Sep 17 00:00:00 2001 From: Luis Contreras Date: Mon, 24 Jun 2019 17:04:18 -0300 Subject: [PATCH 1/3] [IMP] Instala libreria suds-jurko para resolver dependencia de grp-seguridad --- Dockerfiles/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfiles/Dockerfile b/Dockerfiles/Dockerfile index 13b3ea3..576ce01 100644 --- a/Dockerfiles/Dockerfile +++ b/Dockerfiles/Dockerfile @@ -5,6 +5,7 @@ RUN pip install --upgrade pip && npm install -g less && pip install pillow -U && RUN cd /tmp && git clone --depth=1 -b $ODOO_VERSION $ODOO_REPO && cd /tmp/odoo && pip install -r requirements.txt && pip install pillow -U && pip install suds && pip install python-ldap -U && \ rm -rf /tmp/odoo /var/cache/apk/* RUN git clone -b py2.x https://github.com/aeroo/aeroolib.git /tmp/aeroolib && cd /tmp/aeroolib && python setup.py install && rm -rf /tmp/aeroolib +RUN pip install suds-jurko WORKDIR /opt/app EXPOSE 8070 COPY run.sh /usr/bin/run.sh From bef7fc744af44e0e9f601544e69884015c586878 Mon Sep 17 00:00:00 2001 From: Luis Contreras Date: Tue, 20 Aug 2019 16:46:26 -0300 Subject: [PATCH 2/3] Change postgres version Odoo 8 works with postgres not higher than 9.4 --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index f1d2a1a..828101d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,7 +16,7 @@ services: postgres: - image: postgres:10 + image: postgres:9.4 environment: - POSTGRES_PASSWORD=password - POSTGRES_USER=odoo From 9887dc69c30088889cf67a68f2207a77eb19cd16 Mon Sep 17 00:00:00 2001 From: Luis Contreras Date: Tue, 20 Aug 2019 16:50:17 -0300 Subject: [PATCH 3/3] Change python-ldap for pyldap The GRP uses python library pyldap the rigth command would be 'pip install pyldap' --- Dockerfiles/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfiles/Dockerfile b/Dockerfiles/Dockerfile index 576ce01..f7a94b6 100644 --- a/Dockerfiles/Dockerfile +++ b/Dockerfiles/Dockerfile @@ -2,7 +2,7 @@ FROM alpine:3.9 ENV PYTHON_VERSION=python2 ODOO_VERSION=8.0 ODOO_REPO=https://github.com/odoo/odoo.git RUN apk add --no-cache --update $PYTHON_VERSION py2-pip shadow su-exec nodejs npm wkhtmltopdf tzdata postgresql-dev git zlib zlib-dev libjpeg gcc libxml2 libxslt-dev py2-lxml libxml2-dev libc-dev python2-dev jpeg-dev linux-headers openldap-dev tiff-dev RUN pip install --upgrade pip && npm install -g less && pip install pillow -U && addgroup -S odoo && adduser -h /opt/app -S -G odoo odoo -RUN cd /tmp && git clone --depth=1 -b $ODOO_VERSION $ODOO_REPO && cd /tmp/odoo && pip install -r requirements.txt && pip install pillow -U && pip install suds && pip install python-ldap -U && \ +RUN cd /tmp && git clone --depth=1 -b $ODOO_VERSION $ODOO_REPO && cd /tmp/odoo && pip install -r requirements.txt && pip install pillow -U && pip install suds && pip install pyldap -U && \ rm -rf /tmp/odoo /var/cache/apk/* RUN git clone -b py2.x https://github.com/aeroo/aeroolib.git /tmp/aeroolib && cd /tmp/aeroolib && python setup.py install && rm -rf /tmp/aeroolib RUN pip install suds-jurko